X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20191017225002_drop_websub_tables.exs;h=4cf67a59ca2fc55f4ef5ca673426154dc5db1c1c;hb=9cf4c4fa73e68f03791c5cc70505b710be39b677;hp=9e483b2a1e8d7144ef6f7360e2b8a717815e99e9;hpb=2ebe8c416a72b512feaba87040982da5bcf865cf;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