-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
veteran_representatives Migration #16377
Conversation
…into sjc-veteran-representative-migration
Generated by 🚫 Danger |
…into sjc-veteran-representative-migration
@@ -598,28 +598,27 @@ | |||
t.datetime "updated_at", null: false | |||
t.datetime "flagged_value_updated_at" | |||
t.index ["ip_address", "representative_id", "flag_type", "flagged_value_updated_at"], name: "index_unique_constraint_fields", unique: true | |||
t.index ["ip_address", "representative_id", "flag_type"], name: "index_unique_flagged_veteran_representative", unique: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Seems like we also removed code using ssn and dob in another PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for running this down, Steven!
Summary
dob_ciphertext
andssn_ciphertext
columns fromveteran_representatives
table. These encrypted fields were indirectly causing an issue with the KMS key rotation job.encrypted_kms_key
column fromveteran_representatives
tableprecision: nil
from schema. Rails treats nil as default value: 6. Soprecision: nil
is no longer necessary as of Rails 7.1Related issue(s)
Testing done
Acceptance Criteria
dob_ciphertext
,ssn_ciphertext
,encrypted_kms_key
are removed from the schema