diff --git a/priv/repo/migrations/20190722120237_drop_thread_visibility_function.exs b/priv/repo/migrations/20190722120237_drop_thread_visibility_function.exs new file mode 100644 index 000000000..a085839fc --- /dev/null +++ b/priv/repo/migrations/20190722120237_drop_thread_visibility_function.exs @@ -0,0 +1,8 @@ +defmodule Pleroma.Repo.Migrations.DropThreadVisibilityFunction do + use Ecto.Migration + @disable_ddl_transaction true + + def change do + execute("drop function if exists thread_visibility(actor varchar, activity_id varchar)") + end +end