summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20191017225002_drop_websub_tables.exs
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2019-10-20 10:39:03 +0000
committerAriadne Conill <ariadne@dereferenced.org>2019-10-20 10:39:03 +0000
commit34754938ba27a71212899f56f8e089a82facd111 (patch)
treec8f3bc727678590fa4e5c7b61ef0f8850db357cd /priv/repo/migrations/20191017225002_drop_websub_tables.exs
parent1311884a1d35fa091b850e3a4d310a8da29059da (diff)
downloadpleroma-34754938ba27a71212899f56f8e089a82facd111.tar.gz
pleroma-34754938ba27a71212899f56f8e089a82facd111.zip
add missing migration to drop websub table
Diffstat (limited to 'priv/repo/migrations/20191017225002_drop_websub_tables.exs')
-rw-r--r--priv/repo/migrations/20191017225002_drop_websub_tables.exs8
1 files changed, 8 insertions, 0 deletions
diff --git a/priv/repo/migrations/20191017225002_drop_websub_tables.exs b/priv/repo/migrations/20191017225002_drop_websub_tables.exs
new file mode 100644
index 000000000..9e483b2a1
--- /dev/null
+++ b/priv/repo/migrations/20191017225002_drop_websub_tables.exs
@@ -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