We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff8851 commit 2135729Copy full SHA for 2135729
lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php
@@ -1750,7 +1750,7 @@ public function getColumnCreateByDescribe($columnData)
1750
$options['unsigned'] = true;
1751
}
1752
if ($columnData['NULLABLE'] === false
1753
- && !($type == Table::TYPE_TEXT && strlen($columnData['DEFAULT']) != 0)
+ && !($type == Table::TYPE_TEXT && isset($columnData['DEFAULT']) && strlen($columnData['DEFAULT']) != 0)
1754
) {
1755
$options['nullable'] = false;
1756
0 commit comments