summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20191017225002_drop_websub_tables.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-11-08 13:27:11 +0100
committerlain <lain@soykaf.club>2019-11-08 13:27:11 +0100
commitb22ee9d9666c49d1a3b1757b275e9d303eed4afc (patch)
treee7b4138a82c7382f2e2819f0a52481ec39cb12f3 /priv/repo/migrations/20191017225002_drop_websub_tables.exs
parentd7f9679ff2c9c4bd2b9967d7a32b5a4fe145305e (diff)
parent278674223d36f4d789dce92cd541c47b7e19b674 (diff)
downloadpleroma-b22ee9d9666c49d1a3b1757b275e9d303eed4afc.tar.gz
pleroma-b22ee9d9666c49d1a3b1757b275e9d303eed4afc.zip
Merge remote-tracking branch 'origin/develop' into reactions
Diffstat (limited to 'priv/repo/migrations/20191017225002_drop_websub_tables.exs')
-rw-r--r--priv/repo/migrations/20191017225002_drop_websub_tables.exs10
1 files changed, 10 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..4cf67a59c
--- /dev/null
+++ b/priv/repo/migrations/20191017225002_drop_websub_tables.exs
@@ -0,0 +1,10 @@
+defmodule Pleroma.Repo.Migrations.DropWebsubTables do
+ use Ecto.Migration
+
+ def up do
+ drop_if_exists(table(:websub_client_subscriptions))
+ drop_if_exists(table(:websub_server_subscriptions))
+ end
+
+ def down, do: :noop
+end