Browse Source

Merge pull request #1043 from tobsn/patch-10

type boolean is tinyint(1)
Dayle Rees 12 years ago
parent
commit
4b8ba99211
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/database/schema/grammars/mysql.php

+ 1 - 1
laravel/database/schema/grammars/mysql.php

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