Skip to content

Commit 2092fa3

Browse files
committed
tinyint with display width 1 does not map to boolean, see: #526
1 parent 2bc996a commit 2092fa3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Tqdev/PhpCrudApi/Database/TypeConverter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ public function __construct(String $driver)
4646
'timestamp_with_timezone' => 'timestamp',
4747
],
4848
'mysql' => [
49-
'bit(0)' => 'boolean',
50-
'bit(1)' => 'boolean',
49+
'bit' => 'boolean',
5150
'tinyblob' => 'blob',
5251
'mediumblob' => 'blob',
5352
'longblob' => 'blob',

0 commit comments

Comments
 (0)