Fixing up deletes a bit (#327)
[akkoma] / priv / repo / migrations / 20221129105331_add_notification_activity_id_index.exs
diff --git a/priv/repo/migrations/20221129105331_add_notification_activity_id_index.exs b/priv/repo/migrations/20221129105331_add_notification_activity_id_index.exs
new file mode 100644 (file)
index 0000000..b1eb71f
--- /dev/null
@@ -0,0 +1,7 @@
+defmodule Pleroma.Repo.Migrations.AddNotificationActivityIdIndex do
+  use Ecto.Migration
+
+  def change do
+    create(index(:notifications, [:activity_id]))
+  end
+end