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:
feld 2026-10-22 18:10:36 +00:00
commit 256c493ec6
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