Skip to content

Prepare to drop encrypted_code columns (LG-4427)#5582

Merged
zachmargolis merged 1 commit intomainfrom
margolis-drop-unique-index
Nov 4, 2021
Merged

Prepare to drop encrypted_code columns (LG-4427)#5582
zachmargolis merged 1 commit intomainfrom
margolis-drop-unique-index

Conversation

@zachmargolis
Copy link
Contributor

  • Make columns nullable so we can stop writing
  • Remove unique index so we can stop writing

- Make columns nullable so we can stop writing
- Remove unique index so we can stop writing
Copy link
Contributor

@mitchellhenke mitchellhenke left a comment

Choose a reason for hiding this comment

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

Can we also make these ignored columns to drop them later?

@zachmargolis
Copy link
Contributor Author

Can we also make these ignored columns to drop them later?

Yup! That's my next PR: #5583

Unfortunately because of the unique index, and non-null constraints, we have to write some value to those columns right now. This PR loosens those constraints so the next one can ignore, and the next after that will drop finally

@zachmargolis zachmargolis merged commit d87c531 into main Nov 4, 2021
@zachmargolis zachmargolis deleted the margolis-drop-unique-index branch November 4, 2021 17:55
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.

2 participants