diff --git a/db/migrate/20210326190625_add_team_ali_code_to_draft_phase.rb b/db/migrate/20210326190625_add_team_ali_code_to_draft_phase.rb index 7f59e90b..cbce34c6 100644 --- a/db/migrate/20210326190625_add_team_ali_code_to_draft_phase.rb +++ b/db/migrate/20210326190625_add_team_ali_code_to_draft_phase.rb @@ -1,6 +1,6 @@ class AddTeamAliCodeToDraftPhase < ActiveRecord::Migration[5.2] def change - add_reference :draft_projects, :team_ali_code, foreign_key: true, type: :integer - add_reference :draft_project_phases, :team_ali_code, foreign_key: true, type: :integer + add_reference :draft_projects, :team_ali_code, foreign_key: true, type: :bigint + add_reference :draft_project_phases, :team_ali_code, foreign_key: true, type: :bigint end end diff --git a/db/migrate/20210329214449_add_fuel_type_to_draft_phase.rb b/db/migrate/20210329214449_add_fuel_type_to_draft_phase.rb index e4d249c3..188f86ed 100644 --- a/db/migrate/20210329214449_add_fuel_type_to_draft_phase.rb +++ b/db/migrate/20210329214449_add_fuel_type_to_draft_phase.rb @@ -1,5 +1,5 @@ class AddFuelTypeToDraftPhase < ActiveRecord::Migration[5.2] def change - add_reference :draft_project_phases, :fuel_type, foreign_key: true, type: :integer + add_reference :draft_project_phases, :fuel_type, foreign_key: true, type: :bigint end end diff --git a/db/migrate/20210518154523_add_reviewer_org_to_scenario.rb b/db/migrate/20210518154523_add_reviewer_org_to_scenario.rb index aa2ab933..37832588 100644 --- a/db/migrate/20210518154523_add_reviewer_org_to_scenario.rb +++ b/db/migrate/20210518154523_add_reviewer_org_to_scenario.rb @@ -1,5 +1,5 @@ class AddReviewerOrgToScenario < ActiveRecord::Migration[5.2] def change - add_reference :scenarios, :reviewer_organization, foreign_key: { to_table: :organizations }, type: :integer + add_reference :scenarios, :reviewer_organization, foreign_key: { to_table: :organizations }, type: :bigint end end diff --git a/lib/transam_cpt/version.rb b/lib/transam_cpt/version.rb index fc8ee2f2..19c3e23d 100644 --- a/lib/transam_cpt/version.rb +++ b/lib/transam_cpt/version.rb @@ -1,3 +1,3 @@ module TransamCpt - VERSION = "2.17.0" + VERSION = "2.18.0" end