discourse/db/fixtures/002_groups.rb

6 lines
157 B
Ruby
Raw Normal View History

Group.ensure_automatic_groups!
2014-07-10 10:17:13 +08:00
if g = Group.find_by(name: 'trust_level_5', id: 15)
g.destroy!
end
2016-10-24 10:03:22 +08:00
Group.where(name: 'everyone').update_all(visible: false)