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 5ecd3a4 commit dbb8472Copy full SHA for dbb8472
lib/internal/Magento/Framework/Setup/Declaration/Schema/Db/DefinitionAggregator.php
@@ -109,7 +109,7 @@ protected function processDefaultValue(array $data)
109
if ($defaultValue === "'NULL'") {
110
return "NULL";
111
}
112
- if ($defaultValue === "NULL" && (bool) strpos($this->getDatabaseVersion(), 'MariaDB')) {
+ if ($defaultValue === "NULL" && strpos($this->getDatabaseVersion(), 'MariaDB') !== false) {
113
return null;
114
115
/*
0 commit comments