Delete legacy Postgres sequences

for activities, chats, and users which were converted to Flake IDs
This commit is contained in:
Mark Felder 2026-08-24 14:51:53 -07:00
commit 9921e802c9
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1 @@
Delete legacy Postgres sequences for activities, chats, and users which were converted to Flake IDs

View file

@ -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