Schema migration with default value of zero (0) does not set default value #2
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
suggestion
support
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-dbi#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Take the following schema migration:
This column will not be set with a default value. I think it is because the check for the default is borking on the check due to zero resolving to
false
or something.added ~152 label
added ~160 label
Tested this with a new table and the default is set correctly. Might be only on a column add.
Confirmed. Creating the table as a whole, the default is set correctly. Adding a column the default is not set if it is zero.
closed via commit
bfc6c870f4