discourse/db/migrate/20130509041351_add_unique_name_to_groups.rb
Sam 5280b3a01b more group progress, UI getting there, controller mostly done
changed it so notify moderators goes to the moderators group
allow admins to grant self moderation and revoke self moderation
2013-05-09 17:37:34 +10:00

5 lines
122 B
Ruby

class AddUniqueNameToGroups < ActiveRecord::Migration
def change
add_index :groups, [:name], unique: true
end
end