X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20191017225002_drop_websub_tables.exs;h=4cf67a59ca2fc55f4ef5ca673426154dc5db1c1c;hb=7ac0a819811496fe512544e91b6f0ff3d15b8856;hp=9e483b2a1e8d7144ef6f7360e2b8a717815e99e9;hpb=62e3d76a450c1b34ba8d0c88a184ec861ed90f29;p=akkoma diff --git a/priv/repo/migrations/20191017225002_drop_websub_tables.exs b/priv/repo/migrations/20191017225002_drop_websub_tables.exs index 9e483b2a1..4cf67a59c 100644 --- a/priv/repo/migrations/20191017225002_drop_websub_tables.exs +++ b/priv/repo/migrations/20191017225002_drop_websub_tables.exs @@ -1,8 +1,10 @@ defmodule Pleroma.Repo.Migrations.DropWebsubTables do use Ecto.Migration - def change do + def up do drop_if_exists(table(:websub_client_subscriptions)) drop_if_exists(table(:websub_server_subscriptions)) end + + def down, do: :noop end