laravel-convert-migrations
laravel-convert-migrations copied to clipboard
Does not add default for columns set with zero as default value
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).