diff options
author | Ariadne Conill <ariadne@dereferenced.org> | 2019-10-20 10:39:03 +0000 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-10-20 10:39:03 +0000 |
commit | 34754938ba27a71212899f56f8e089a82facd111 (patch) | |
tree | c8f3bc727678590fa4e5c7b61ef0f8850db357cd /priv/repo/migrations/20191017225002_drop_websub_tables.exs | |
parent | 1311884a1d35fa091b850e3a4d310a8da29059da (diff) | |
download | pleroma-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.exs | 8 |
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 |