Skip to content

Commit

Permalink
MC-17633: After running setup:upgrade, setup:db:check still says: Dec…
Browse files Browse the repository at this point in the history
…larative Schema is not up to date (MariaDB issue)
  • Loading branch information
rganin committed Nov 1, 2019
1 parent 5ecd3a4 commit dbb8472
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function processDefaultValue(array $data)
if ($defaultValue === "'NULL'") {
return "NULL";
}
if ($defaultValue === "NULL" && (bool) strpos($this->getDatabaseVersion(), 'MariaDB')) {
if ($defaultValue === "NULL" && strpos($this->getDatabaseVersion(), 'MariaDB') !== false) {
return null;
}
/*
Expand Down

0 comments on commit dbb8472

Please sign in to comment.