Browse Source

tinyint with display width 1 does not map to boolean, see: #526

Maurits van der Schee 5 years ago
parent
commit
2092fa31f3
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/Tqdev/PhpCrudApi/Database/TypeConverter.php

+ 1
- 2
src/Tqdev/PhpCrudApi/Database/TypeConverter.php View File

@@ -46,8 +46,7 @@ class TypeConverter
46 46
             'timestamp_with_timezone' => 'timestamp',
47 47
         ],
48 48
         'mysql' => [
49
-            'bit(0)' => 'boolean',
50
-            'bit(1)' => 'boolean',
49
+            'bit' => 'boolean',
51 50
             'tinyblob' => 'blob',
52 51
             'mediumblob' => 'blob',
53 52
             'longblob' => 'blob',

Loading…
Cancel
Save