Merge pull request 'Delete legacy Postgres sequences' (#7969) from legacy_sequences into develop
Reviewed-on: https://git.pleroma.social/pleroma/pleroma/pulls/7969
This commit is contained in:
commit
256c493ec6
2 changed files with 10 additions and 0 deletions
1
changelog.d/legacy-sequences.fix
Normal file
1
changelog.d/legacy-sequences.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Delete legacy Postgres sequences for activities, chats, and users which were converted to Flake IDs
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
defmodule Pleroma.Repo.Migrations.DeleteLegacyIdSequences do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
execute("DROP SEQUENCE IF EXISTS activities_id_seq")
|
||||
execute("DROP SEQUENCE IF EXISTS chats_id_seq")
|
||||
execute("DROP SEQUENCE IF EXISTS users_id_seq")
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue