mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 01:33:38 +08:00
12 lines
224 B
Ruby
12 lines
224 B
Ruby
class UpdateSequenceForGroups < ActiveRecord::Migration[4.2]
|
|
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
|