discourse/db/migrate/20130509040248_update_sequence_for_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

12 lines
219 B
Ruby

class UpdateSequenceForGroups < ActiveRecord::Migration
def up
# even if you alter a sequence you still need to set the seq
execute <<SQL
SELECT setval('groups_id_seq', 40)
SQL
end
def down
end
end