Fix exception messages spacing
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
b67ac4ec9b
commit
c98cab137c
|
@ -571,7 +571,7 @@ class MigrationService {
|
||||||
|
|
||||||
if ($thing->getNotnull() && $thing->getDefault() === ''
|
if ($thing->getNotnull() && $thing->getDefault() === ''
|
||||||
&& $sourceTable instanceof Table && !$sourceTable->hasColumn($thing->getName())) {
|
&& $sourceTable instanceof Table && !$sourceTable->hasColumn($thing->getName())) {
|
||||||
throw new \InvalidArgumentException('Column name "' . $table->getName() . '"."' . $thing->getName() . '" is NotNull, but has empty string or null as default.');
|
throw new \InvalidArgumentException('Column "' . $table->getName() . '"."' . $thing->getName() . '" is NotNull, but has empty string or null as default.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue