-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'arf.80297/ARP-OGC-number-migrations' into arf.80297/ARP…
…-OGC-number * arf.80297/ARP-OGC-number-migrations: creates data to seed dev & staging (#16502) post database updates (#16500) Added auth-only feature flipper for 10-10EZR (#16496) update vsoreloader to correctly upsert organization data (#16470) database updates (#16475) Bump super_diff from 0.11.0 to 0.12.0 (#16495) arf-80297 add ARP verified_representative migration
- Loading branch information
Showing
40 changed files
with
632 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
db/migrate/20240424132506_remove_ssn_and_icn_from_vye_tables.vye.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This migration comes from vye (originally 20240303145700) | ||
class RemoveSsnAndIcnFromVyeTables < ActiveRecord::Migration[7.0] | ||
def change | ||
safety_assured do | ||
remove_columns( | ||
:vye_user_infos, | ||
:icn, | ||
:ssn_ciphertext, | ||
:ssn_digest | ||
) | ||
|
||
remove_columns( | ||
:vye_pending_documents, | ||
:claim_no_ciphertext, | ||
:ssn_ciphertext, | ||
:ssn_digest | ||
) | ||
end | ||
end | ||
end |
17 changes: 17 additions & 0 deletions
17
db/migrate/20240424132507_remove_address_details_from_vye_user_infos.vye.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This migration comes from vye (originally 20240305034315) | ||
class RemoveAddressDetailsFromVyeUserInfos < ActiveRecord::Migration[7.0] | ||
def change | ||
safety_assured do | ||
remove_columns( | ||
:vye_user_infos, | ||
:full_name_ciphertext, | ||
:address_line2_ciphertext, | ||
:address_line3_ciphertext, | ||
:address_line4_ciphertext, | ||
:address_line5_ciphertext, | ||
:address_line6_ciphertext, | ||
:zip_ciphertext | ||
) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# This migration comes from vye (originally 20240415205522) | ||
class ChangeDatetimeToDate < ActiveRecord::Migration[7.1] | ||
def change | ||
safety_assured do | ||
change_column :vye_awards, :award_begin_date, :date | ||
change_column :vye_awards, :award_end_date, :date | ||
change_column :vye_awards, :payment_date, :date | ||
|
||
change_column :vye_pending_documents, :queue_date, :date | ||
|
||
change_column :vye_user_infos, :cert_issue_date, :date | ||
change_column :vye_user_infos, :del_date, :date | ||
change_column :vye_user_infos, :date_last_certified, :date | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This migration comes from vye (originally 20240415220728) | ||
class UpdateVerifications < ActiveRecord::Migration[7.1] | ||
disable_ddl_transaction! | ||
|
||
def change | ||
add_column :vye_verifications, :user_profile_id, :integer | ||
add_column :vye_verifications, :monthly_rate, :decimal | ||
add_column :vye_verifications, :number_hours, :integer | ||
add_column :vye_verifications, :payment_date, :date | ||
add_column :vye_verifications, :transact_date, :date | ||
add_column :vye_verifications, :trace, :string | ||
|
||
add_index :vye_verifications, :user_profile_id, algorithm: :concurrently | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This migration comes from vye (originally 20240422033815) | ||
class CreateVyeBdnClones < ActiveRecord::Migration[7.1] | ||
def change | ||
create_table :vye_bdn_clones do |t| | ||
t.boolean :is_active | ||
t.boolean :export_ready | ||
t.date :transact_date | ||
|
||
t.timestamps | ||
end | ||
|
||
add_index :vye_bdn_clones, :is_active, unique: true, where: "is_active IS NOT NULL" | ||
add_index :vye_bdn_clones, :export_ready, unique: true, where: "export_ready IS NOT NULL" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This migration comes from vye (originally 20240422043836) | ||
class AddToVyeUserInfos < ActiveRecord::Migration[7.1] | ||
disable_ddl_transaction! | ||
|
||
def change | ||
add_column :vye_user_infos, :bdn_clone_id, :integer | ||
add_column :vye_user_infos, :bdn_clone_line, :integer | ||
add_column :vye_user_infos, :bdn_clone_active, :boolean | ||
|
||
add_index :vye_user_infos, :bdn_clone_id, algorithm: :concurrently | ||
add_index :vye_user_infos, :bdn_clone_line, algorithm: :concurrently | ||
add_index :vye_user_infos, :bdn_clone_active, algorithm: :concurrently | ||
end | ||
end |
8 changes: 8 additions & 0 deletions
8
db/migrate/20240424132512_remove_from_vye_pending_document.vye.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This migration comes from vye (originally 20240422051918) | ||
class RemoveFromVyePendingDocument < ActiveRecord::Migration[7.1] | ||
def change | ||
safety_assured do | ||
remove_column :vye_pending_documents, :encrypted_kms_key | ||
end | ||
end | ||
end |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# frozen_string_literal: true | ||
|
||
class Vye::BdnClone < ApplicationRecord | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.