You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
If I've set a column default in my schema, populator won't set the attribute value and will try saving it as NULL. This causes errors when a column is not nullable.
Looking at the code, Populator::Record only looks at the column names, and anything that's not explicitly set by the user will be set to NULL. How about if we make it use the defaults from the schema too?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I've set a column default in my schema, populator won't set the attribute value and will try saving it as NULL. This causes errors when a column is not nullable.
Looking at the code, Populator::Record only looks at the column names, and anything that's not explicitly set by the user will be set to NULL. How about if we make it use the defaults from the schema too?
The text was updated successfully, but these errors were encountered: