mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
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
|