2 changed files with 8 additions and 7 deletions
@ -1,7 +0,0 @@ |
|||||||
class AddIdOffsetOrganisations < ActiveRecord::Migration[7.0] |
|
||||||
def up |
|
||||||
execute "SELECT setval('organisations_id_seq', 100000000)" |
|
||||||
end |
|
||||||
|
|
||||||
def down; end |
|
||||||
end |
|
@ -0,0 +1,8 @@ |
|||||||
|
class AddIdOffsetOrganisationsAndLogs < ActiveRecord::Migration[7.0] |
||||||
|
def up |
||||||
|
execute "SELECT setval('organisations_id_seq', 100000000)" |
||||||
|
execute "SELECT setval('case_logs_id_seq', 300000000000)" |
||||||
|
end |
||||||
|
|
||||||
|
def down; end |
||||||
|
end |
Loading…
Reference in new issue