Skip to content
Snippets Groups Projects
Commit 12f45e2a authored by kaniini's avatar kaniini
Browse files

update migration

parent 0aada88b
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment