Skip to content

Commit dbb8472

Browse files
committed
MC-17633: After running setup:upgrade, setup:db:check still says: Declarative Schema is not up to date (MariaDB issue)
1 parent 5ecd3a4 commit dbb8472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Setup/Declaration/Schema/Db/DefinitionAggregator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected function processDefaultValue(array $data)
109109
if ($defaultValue === "'NULL'") {
110110
return "NULL";
111111
}
112-
if ($defaultValue === "NULL" && (bool) strpos($this->getDatabaseVersion(), 'MariaDB')) {
112+
if ($defaultValue === "NULL" && strpos($this->getDatabaseVersion(), 'MariaDB') !== false) {
113113
return null;
114114
}
115115
/*

0 commit comments

Comments
 (0)