Skip to content

Commit 4b8ba99

Browse files
committed
Merge pull request laravel#1043 from tobsn/patch-10
type boolean is tinyint(1)
2 parents e0338f3 + 5716b4d commit 4b8ba99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/database/schema/grammars/mysql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ protected function type_decimal(Fluent $column)
383383
*/
384384
protected function type_boolean(Fluent $column)
385385
{
386-
return 'TINYINT';
386+
return 'TINYINT(1)';
387387
}
388388

389389
/**

0 commit comments

Comments
 (0)