update 2024-04-30 19:56:01
This commit is contained in:
parent
92c174a3a4
commit
9fc93307ce
|
@ -439,9 +439,10 @@ abstract class Schema implements SchemaInterface
|
|||
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;
|
||||
|
|
|
@ -412,9 +412,10 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user