qb_akkoma/priv/repo/migrations/20191017225002_drop_websub_tables.exs

11 lines
233 B
Elixir
Raw Normal View History

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