laravel-convert-migrations icon indicating copy to clipboard operation
laravel-convert-migrations copied to clipboard

Does not add default for columns set with zero as default value

Open technogenus opened this issue 11 years ago • 0 comments

Any columns that are set as not null with the literal zero '0' as default do not get a "->default('0')" applied to the column creation. This creates some problems if your MySQL or MariaDB is set to "strict mode" (which is the default).

technogenus avatar Oct 21 '14 13:10 technogenus