From d8678abcfb40282a683f2cfa2fa71aecefca0d51 Mon Sep 17 00:00:00 2001 From: Alex Andrade Date: Thu, 18 Nov 2021 16:18:32 -0500 Subject: [PATCH 1/3] [TTPLAT-2128] Update migrations to use bigint for foreign keys for funding engine tests --- db/migrate/20210326190625_add_team_ali_code_to_draft_phase.rb | 4 ++-- db/migrate/20210329214449_add_fuel_type_to_draft_phase.rb | 2 +- db/migrate/20210518154523_add_reviewer_org_to_scenario.rb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 From 8dfae3dfbef7c3c7c8d878451e5002314c05967c Mon Sep 17 00:00:00 2001 From: "W. Scott Meeks" Date: Fri, 26 Nov 2021 14:08:39 -0500 Subject: [PATCH 2/3] Update version.rb --- lib/transam_cpt/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transam_cpt/version.rb b/lib/transam_cpt/version.rb index 7be14007..01ddbb99 100644 --- a/lib/transam_cpt/version.rb +++ b/lib/transam_cpt/version.rb @@ -1,3 +1,3 @@ module TransamCpt - VERSION = "2.17.0-rc" + VERSION = "2.18.0-rc" end From b3626d5798da0513a6ca15c4087f500e717eca2d Mon Sep 17 00:00:00 2001 From: "W. Scott Meeks" Date: Fri, 10 Dec 2021 12:22:01 -0500 Subject: [PATCH 3/3] Update version.rb --- lib/transam_cpt/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transam_cpt/version.rb b/lib/transam_cpt/version.rb index 01ddbb99..19c3e23d 100644 --- a/lib/transam_cpt/version.rb +++ b/lib/transam_cpt/version.rb @@ -1,3 +1,3 @@ module TransamCpt - VERSION = "2.18.0-rc" + VERSION = "2.18.0" end