Skip to content

Commit

Permalink
Revert "Wire up the backend API to frontend (Backend)" (#16504)
Browse files Browse the repository at this point in the history
* Revert "database updates (#16475)"

This reverts commit 8a4a934.

* Revertig migrations
  • Loading branch information
RachalCassity authored Apr 25, 2024
1 parent 15552a8 commit 55a6fbb
Show file tree
Hide file tree
Showing 29 changed files with 163 additions and 234 deletions.

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions db/migrate/20240424132508_change_datetime_to_date.vye.rb

This file was deleted.

15 changes: 0 additions & 15 deletions db/migrate/20240424132509_update_verifications.vye.rb

This file was deleted.

15 changes: 0 additions & 15 deletions db/migrate/20240424132510_create_vye_bdn_clones.vye.rb

This file was deleted.

14 changes: 0 additions & 14 deletions db/migrate/20240424132511_add_to_vye_user_infos.vye.rb

This file was deleted.

This file was deleted.

10 changes: 10 additions & 0 deletions db/migrate/20240425231104_add_ssn_and_icen_from_vye_tables.vye.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class AddSsnAndIcenFromVyeTables < ActiveRecord::Migration[7.1]
def change
add_column :vye_user_infos, :icn, :string, if_not_exists: true
add_column :vye_user_infos, :ssn_ciphertext, :text, if_not_exists: true
add_column :vye_user_infos, :ssn_digest, :string, if_not_exists: true
add_column :vye_pending_documents, :claim_no_ciphertext, :string, if_not_exists: true
add_column :vye_pending_documents, :ssn_ciphertext, :text, if_not_exists: true
add_column :vye_pending_documents, :ssn_digest, :string, if_not_exists: true
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class AddAddressDetailsFromVyeUserInfos < ActiveRecord::Migration[7.1]
def change
add_column :vye_user_infos, :full_name_ciphertext, :text, if_not_exists: true
add_column :vye_user_infos, :address_line2_ciphertext, :text, if_not_exists: true
add_column :vye_user_infos, :address_line3_ciphertext, :text, if_not_exists: true
add_column :vye_user_infos, :address_line4_ciphertext, :text, if_not_exists: true
add_column :vye_user_infos, :address_line5_ciphertext, :text, if_not_exists: true
add_column :vye_user_infos, :address_line6_ciphertext, :text, if_not_exists: true
add_column :vye_user_infos, :zip_ciphertext, :text, if_not_exists: true
end
end
15 changes: 15 additions & 0 deletions db/migrate/20240425231435_change_date_to_datetime.vye.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
class ChangeDateToDatetime < ActiveRecord::Migration[7.1]
def change
safety_assured do
change_column :vye_awards, :award_begin_date, :datetime
change_column :vye_awards, :award_end_date, :datetime
change_column :vye_awards, :payment_date, :datetime

change_column :vye_pending_documents, :queue_date, :datetime

change_column :vye_user_infos, :cert_issue_date, :datetime
change_column :vye_user_infos, :del_date, :datetime
change_column :vye_user_infos, :date_last_certified, :datetime
end
end
end
12 changes: 12 additions & 0 deletions db/migrate/20240425231538_remove_verifications.vye.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class RemoveVerifications < ActiveRecord::Migration[7.1]
def change
remove_index "vye_verifications", column: [:user_profile_id], name: "index_vye_verifications_on_user_profile_id", if_exists: true

safety_assured { remove_column :vye_verifications, :user_profile_id, :integer, if_exists: true }
safety_assured { remove_column :vye_verifications, :monthly_rate, :decimal, if_exists: true }
safety_assured { remove_column :vye_verifications, :number_hours, :integer, if_exists: true }
safety_assured { remove_column :vye_verifications, :payment_date, :date, if_exists: true }
safety_assured { remove_column :vye_verifications, :transact_date, :date, if_exists: true }
safety_assured { remove_column :vye_verifications, :trace, :string, if_exists: true }
end
end
10 changes: 10 additions & 0 deletions db/migrate/20240425231641_remove_vye_user_infos.vye.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class RemoveVyeUserInfos < ActiveRecord::Migration[7.1]
def change
remove_index "vye_user_infos", column: [:bdn_clone_id], name: "index_vye_user_infos_on_bdn_clone_id", if_exists: true
remove_index "vye_user_infos", column: [:bdn_clone_line], name: "index_vye_user_infos_on_bdn_clone_line", if_exists: true
remove_index "vye_user_infos", column: [:bdn_clone_active], name: "index_vye_user_infos_on_bdn_clone_active", if_exists: true
safety_assured { remove_column :vye_user_infos, :bdn_clone_id, :integer, if_exists: true }
safety_assured { remove_column :vye_user_infos, :bdn_clone_line, :integer, if_exists: true }
safety_assured { remove_column :vye_user_infos, :bdn_clone_active, :boolean, if_exists: true }
end
end
5 changes: 5 additions & 0 deletions db/migrate/20240425231821_add_vyependingdocuments.vye.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddVyependingdocuments < ActiveRecord::Migration[7.1]
def change
add_column :vye_pending_documents, :encrypted_kms_key, :text, if_not_exists: true
end
end
7 changes: 7 additions & 0 deletions db/migrate/20240425232006_drop_vye_bdn_clones.vye.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class DropVyeBdnClones < ActiveRecord::Migration[7.1]
def change
remove_index "vye_bdn_clones", column: [:is_active], unique: true, where: "(is_active IS NOT NULL)", name: "index_vye_bdn_clones_on_is_active", if_exists: true
remove_index "vye_bdn_clones", column: [:export_ready], unique: true, where: "(export_ready IS NOT NULL)", name: "index_vye_bdn_clones_on_export_ready", if_exists: true
drop_table :vye_bdn_clones, if_exists: true # rubocop:disable Rails/ReversibleMigration
end
end
54 changes: 23 additions & 31 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions modules/vye/db/migrate/20240415205522_change_datetime_to_date.rb

This file was deleted.

14 changes: 0 additions & 14 deletions modules/vye/db/migrate/20240415220728_update_verifications.rb

This file was deleted.

14 changes: 0 additions & 14 deletions modules/vye/db/migrate/20240422033815_create_vye_bdn_clones.rb

This file was deleted.

Loading

0 comments on commit 55a6fbb

Please sign in to comment.