-
Notifications
You must be signed in to change notification settings - Fork 7
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
[bug] default state is sometimes invalid if the DB column has a default value too #6
Comments
I ran into this issue running steady_state on sqlite where you can't have a |
This issue came up again. Adding |
I think it would make sense for this gem to somehow detect when a column-level default is getting applied and raise a warning/exception. |
This is possible! Here's an example: irb> SomeModel.columns_hash['status'].default
=> "pending" |
OMG running into this now too! |
TODO: Put the steps for reproducing this here.
The text was updated successfully, but these errors were encountered: