add missing migration to drop websub table
authorAriadne Conill <ariadne@dereferenced.org>
Sun, 20 Oct 2019 10:39:03 +0000 (10:39 +0000)
committerAriadne Conill <ariadne@dereferenced.org>
Sun, 20 Oct 2019 10:39:03 +0000 (10:39 +0000)
priv/repo/migrations/20191017225002_drop_websub_tables.exs [new file with mode: 0644]

diff --git a/priv/repo/migrations/20191017225002_drop_websub_tables.exs b/priv/repo/migrations/20191017225002_drop_websub_tables.exs
new file mode 100644 (file)
index 0000000..9e483b2
--- /dev/null
@@ -0,0 +1,8 @@
+defmodule Pleroma.Repo.Migrations.DropWebsubTables do
+  use Ecto.Migration
+
+  def change do
+    drop_if_exists(table(:websub_client_subscriptions))
+    drop_if_exists(table(:websub_server_subscriptions))
+  end
+end