Delete legacy Postgres sequences
for activities, chats, and users which were converted to Flake IDs
This commit is contained in:
parent
124f4ece1d
commit
9921e802c9
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