Skip to content

Commit 625b056

Browse files
authored
Change MySQL bool declaration from TINYINT(1) to TINYINT
1 parent e82655f commit 625b056

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
@@ -215,7 +215,7 @@ public function getTimeTypeDeclarationSQL(array $column): string
215215
*/
216216
public function getBooleanTypeDeclarationSQL(array $column): string
217217
{
218-
return 'TINYINT(1)';
218+
return 'TINYINT';
219219
}
220220

221221
/**

0 commit comments

Comments
 (0)