Merge branch 'DDC-975'
This commit is contained in:
commit
bcafa19386
@ -509,7 +509,7 @@ class SchemaTool
|
|||||||
if (isset($joinColumn['nullable'])) {
|
if (isset($joinColumn['nullable'])) {
|
||||||
$columnOptions['notnull'] = !$joinColumn['nullable'];
|
$columnOptions['notnull'] = !$joinColumn['nullable'];
|
||||||
}
|
}
|
||||||
if ($fieldMapping['type'] == "string") {
|
if ($fieldMapping['type'] == "string" && isset($fieldMapping['length'])) {
|
||||||
$columnOptions['length'] = $fieldMapping['length'];
|
$columnOptions['length'] = $fieldMapping['length'];
|
||||||
} else if ($fieldMapping['type'] == "decimal") {
|
} else if ($fieldMapping['type'] == "decimal") {
|
||||||
$columnOptions['scale'] = $fieldMapping['scale'];
|
$columnOptions['scale'] = $fieldMapping['scale'];
|
||||||
|
Loading…
Reference in New Issue
Block a user