discourse/db/fixtures/002_groups.rb

5 lines
100 B
Ruby

Group.ensure_automatic_groups!
if g = Group.find_by(name: 'trust_level_5', id: 15)
g.destroy!
end