We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8030128 + 3665379 commit 38f9393Copy full SHA for 38f9393
1 file changed
data/source/database/adapter/MySql.php
@@ -447,7 +447,7 @@ protected function _column($real) {
447
switch (true) {
448
case in_array($column['type'], ['date', 'time', 'datetime', 'timestamp']):
449
return $column;
450
- case ($column['type'] === 'tinyint' && $column['length'] == '1'):
+ case ($column['type'] === 'tinyint' && isset($column['length']) && $column['length'] == '1'):
451
case ($column['type'] === 'boolean'):
452
return ['type' => 'boolean'];
453
break;
0 commit comments