Skip to content

Remove ial2 columns#7615

Merged
kbighorse merged 13 commits intomainfrom
LG-8012-remove-ial2-strict-db-columns
Jan 19, 2023
Merged

Remove ial2 columns#7615
kbighorse merged 13 commits intomainfrom
LG-8012-remove-ial2-strict-db-columns

Conversation

@kbighorse
Copy link
Contributor

@kbighorse kbighorse commented Jan 11, 2023

Comment on lines +1 to +6
class DeleteIal2Columns < ActiveRecord::Migration[7.0]
def change
safety_assured { remove_column :document_capture_sessions, :ial2_strict }
safety_assured { remove_column :doc_auth_logs, :selfie_view_at }
end
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to do this in a separate PR from adding ignored_columns because during a deploy old boxes will still try to load columns that have been dropped

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏾

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see #7622

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just merg'd #7622

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh also this PR can be updated to remove the .ignored_columns line because those columns don't exist anymore

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! but we need to wait to merge this until #7622 is deployed

@kbighorse
Copy link
Contributor Author

👌🏾 can do, still a bit remaining on this one in the meantime

@kbighorse
Copy link
Contributor Author

CI failed on prepare_deploy step: https://gitlab.login.gov/lg/identity-idp/-/jobs/282110

@kbighorse
Copy link
Contributor Author

re-ran, CI now passing 😄

@kbighorse kbighorse merged commit 1a11b85 into main Jan 19, 2023
@kbighorse kbighorse deleted the LG-8012-remove-ial2-strict-db-columns branch January 19, 2023 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants