update migration

This commit is contained in:
William Pitcock 2019-05-15 16:22:52 +00:00
parent 0aada88b55
commit 12f45e2a89

View File

@ -21,8 +21,9 @@ defmodule Pleroma.Repo.Migrations.AddThreadVisibilityFunction do
LOOP
--- Ensure that we have an activity before continuing.
--- If we don't, the thread is not satisfiable.
IF activity IS NULL THEN
RETURN true;
RETURN false;
END IF;
--- We only care about Create activities.