update 2024-04-30 19:56:01

This commit is contained in:
Robot 2024-04-30 19:56:01 +02:00
parent 92c174a3a4
commit 9fc93307ce
Signed by: Robot
GPG Key ID: 14DECD44E7E1BB95
2 changed files with 6 additions and 4 deletions

View File

@ -439,9 +439,10 @@ abstract class Schema implements SchemaInterface
return true; return true;
} }
if (is_string($expected['default']) && strtoupper($expected['default']) === 'EMPTY') if (is_string($expected['default']) && strtoupper($expected['default']) === 'EMPTY' &&
is_string($current->Default) && strpos($current->Default, 'EMPTY') !== false)
{ {
$this->success[] = "DEFAULT IS: " . $this->quote($current->Default); return true; // little fix
} }
return false; return false;

View File

@ -412,9 +412,10 @@
return true; return true;
} }
if (is_string($expected['default']) && strtoupper($expected['default']) === 'EMPTY') if (is_string($expected['default']) && strtoupper($expected['default']) === 'EMPTY' &&
is_string($current->Default) && strpos($current->Default, 'EMPTY') !== false)
{ {
$this->success[] = "DEFAULT IS: " . $this->quote($current->Default); return true; // little fix
} }
return false; return false;