Merge pull request #802 from fasmide/patch-1
Respect unsigned fields when tables get converted to entities.
This commit is contained in:
commit
b7cffbde37
@ -1430,7 +1430,11 @@ public function __construct()
|
||||
if (isset($fieldMapping['nullable'])) {
|
||||
$column[] = 'nullable=' . var_export($fieldMapping['nullable'], true);
|
||||
}
|
||||
|
||||
|
||||
if (isset($fieldMapping['unsigned']) && $fieldMapping['unsigned']) {
|
||||
$column[] = 'options={"unsigned"=true}';
|
||||
}
|
||||
|
||||
if (isset($fieldMapping['columnDefinition'])) {
|
||||
$column[] = 'columnDefinition="' . $fieldMapping['columnDefinition'] . '"';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user