Skip to content
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

DEV: Allow DROP NOT NULL in pre-deploy migrations #20775

Merged
merged 2 commits into from Mar 22, 2023

Conversation

davidtaylorhq
Copy link
Member

Our SafeMigrate system is designed to prevent tables/columns being dropped in pre-deploy migrations. Its regex-based detection was triggering incorrectly on ALTER COLUMN DROP NOT NULL.

Our SafeMigrate system is designed to prevent tables/columns being dropped in pre-deploy migrations. Its regex-based detection was triggering incorrectly on `ALTER COLUMN DROP NOT NULL`.
@davidtaylorhq davidtaylorhq merged commit 7070f81 into main Mar 22, 2023
12 checks passed
@davidtaylorhq davidtaylorhq deleted the safe-migrate-not-null branch March 22, 2023 14:43
ChadBoschert pushed a commit to apt-crowd/discourse that referenced this pull request Apr 26, 2023
Our SafeMigrate system is designed to prevent tables/columns being dropped in pre-deploy migrations. Its regex-based detection was triggering incorrectly on `ALTER COLUMN DROP NOT NULL`.
enduvar pushed a commit to ForgottenWorld/discourse that referenced this pull request Sep 8, 2023
Our SafeMigrate system is designed to prevent tables/columns being dropped in pre-deploy migrations. Its regex-based detection was triggering incorrectly on `ALTER COLUMN DROP NOT NULL`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants