type boolean is tinyint(1)

switched from default "tinyint" which creates a tinyint(4) to the
standard mysql boolean type "tinyint(1)"
This commit is contained in:
Tobsn
2012-08-02 00:54:30 +02:00
parent 7256dc2a65
commit 5716b4da40

View File

@@ -383,7 +383,7 @@ class MySQL extends Grammar {
*/
protected function type_boolean(Fluent $column)
{
return 'TINYINT';
return 'TINYINT(1)';
}
/**