mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-26 13:55:04 +01:00
update migration
This commit is contained in:
parent
0aada88b55
commit
12f45e2a89
@ -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.
|
Loading…
Reference in New Issue
Block a user