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