Page MenuHomePhorge

No OneTemporary

Authored By
Unknown
Size
876 B
Referenced Files
None
Subscribers
None
diff --git a/changelog.d/legacy-sequences.fix b/changelog.d/legacy-sequences.fix
new file mode 100644
index 000000000..0ecd4842d
--- /dev/null
+++ b/changelog.d/legacy-sequences.fix
@@ -0,0 +1 @@
+Delete legacy Postgres sequences for activities, chats, and users which were converted to Flake IDs
diff --git a/priv/repo/migrations/20260824214955_delete_legacy_id_sequences.exs b/priv/repo/migrations/20260824214955_delete_legacy_id_sequences.exs
new file mode 100644
index 000000000..bad9d5f7a
--- /dev/null
+++ b/priv/repo/migrations/20260824214955_delete_legacy_id_sequences.exs
@@ -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

File Metadata

Mime Type
text/x-diff
Expires
Fri, Oct 30, 9:54 PM (17 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1800587
Default Alt Text
(876 B)

Event Timeline