mirror of
https://0xacab.org/sutty/sutty
synced 2025-03-15 19:48:21 +00:00
Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl
This commit is contained in:
commit
e93e62c1d2
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class RemoveActorModerations < ActiveRecord::Migration[6.1]
|
|||
actor_ids =
|
||||
ActivityPub.where(aasm_state: 'removed', object_type: 'ActivityPub::Object::Person').distinct.pluck(:actor_id)
|
||||
|
||||
ActorModeration.where(id: actor_ids).remove_all!
|
||||
ActorModeration.where(actor_id: actor_ids).remove_all!
|
||||
end
|
||||
|
||||
def down; end
|
||||
|
|
Loading…
Reference in a new issue