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

Enforce null: false constraint on columns consistently #205

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

shioyama
Copy link
Owner

I noticed there were warnings in the Rails 4.2 specs because null: false is not specified on timestamps in migrations. While fixing that, I've also enforced this constraint on KeyValue migrations for all columns other than value, which I think is a better default.

This will be released in 0.6.0 (should be the last release before 1.0).

@shioyama shioyama force-pushed the enforce_null_false_columns branch 3 times, most recently from 230c0e7 to 724462e Compare April 11, 2018 02:04
@shioyama shioyama force-pushed the enforce_null_false_columns branch from 724462e to 333db3d Compare April 11, 2018 02:33
@shioyama shioyama merged commit 333db3d into master Apr 11, 2018
@shioyama shioyama deleted the enforce_null_false_columns branch April 11, 2018 04:45
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.

1 participant