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

Introduce a new rule that bans dropping NOT NULL constraints #288

Merged
merged 2 commits into from
Mar 2, 2023

Conversation

andrewsmith
Copy link
Contributor

This addresses #282 by creating a new rule that bans dropping NOT NULL constraints on columns. This can cause problems in application code that doesn't expect NULL values.

@netlify
Copy link

netlify bot commented Mar 1, 2023

👷 Deploy request for squawkhq pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit a9357e1

title: ban-drop-not-null
---

## problem
Copy link
Owner

Choose a reason for hiding this comment

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

🥳 docs!!

@sbdchd
Copy link
Owner

sbdchd commented Mar 2, 2023

Great rule, thank you!

@sbdchd sbdchd added the automerge automerge with kodiak label Mar 2, 2023
@kodiakhq kodiakhq bot merged commit ddab9b6 into sbdchd:master Mar 2, 2023
@andrewsmith andrewsmith deleted the not-null-constraint branch March 3, 2023 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge automerge with kodiak
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants