5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-03-15 21:58:19 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-07 20:21:57 +00:00
commit e93e62c1d2

View file

@ -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