mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 09:01:11 +08:00

changed it so notify moderators goes to the moderators group allow admins to grant self moderation and revoke self moderation
12 lines
219 B
Ruby
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
|