Skip to content

Commit 2e6fdb2

Browse files
rixafyderrabus
authored andcommitted
Change MySQL bool declaration from TINYINT(1) to TINYINT
1 parent 9ecb086 commit 2e6fdb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Platforms/AbstractMySQLPlatform.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function getTimeTypeDeclarationSQL(array $column): string
216216
*/
217217
public function getBooleanTypeDeclarationSQL(array $column): string
218218
{
219-
return 'TINYINT(1)';
219+
return 'TINYINT';
220220
}
221221

222222
/**

0 commit comments

Comments
 (0)