summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20191017225002_drop_websub_tables.exs
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2019-10-27 16:11:25 +0300
committerMaxim Filippov <colixer@gmail.com>2019-10-27 16:11:25 +0300
commit791bcfd90f41da9d77ab5a5ad6eec22ae8050b8a (patch)
tree98ebe750f99cb6be2532e9dbaf3b334957353777 /priv/repo/migrations/20191017225002_drop_websub_tables.exs
parent8eff05d4c62c4d3300fee173cad84f75a0aafb4d (diff)
parent060adfd762a5183b3cc5f51e041819b24b8430d2 (diff)
downloadpleroma-791bcfd90f41da9d77ab5a5ad6eec22ae8050b8a.tar.gz
pleroma-791bcfd90f41da9d77ab5a5ad6eec22ae8050b8a.zip
Merge branch 'develop' into feature/store-statuses-data-inside-flag
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