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

Support drop/set default in change_colum operations #156

Merged
merged 4 commits into from
Mar 4, 2024

Conversation

coding-chimp
Copy link

Simplifies writing migrations updating a column's default value:

change_column("foo", "VARCHAR(255) NOT NULL DEFAULT 'new_default'")

can now be written as:

change_column("foo", "SET DEFAULT 'new_default'")

@coding-chimp coding-chimp merged commit 5b92392 into master Mar 4, 2024
40 checks passed
@coding-chimp coding-chimp deleted the bb/change-column-defaults branch March 4, 2024 14:02
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.

None yet

2 participants