Fixing DatabaseDriver to specify nullable => true instead of notnull => false
This commit is contained in:
parent
5dbd40563c
commit
7ac08931bc
@ -100,7 +100,7 @@ class DatabaseDriver implements Driver
|
||||
} else if ($column->getType() instanceof \Doctrine\DBAL\Types\IntegerType) {
|
||||
$fieldMapping['unsigned'] = $column->getUnsigned();
|
||||
}
|
||||
$fieldMapping['notnull'] = $column->getNotNull();
|
||||
$fieldMapping['nullable'] = $column->getNotNull() ? false : true;
|
||||
|
||||
if (isset($fieldMapping['id'])) {
|
||||
$ids[] = $fieldMapping;
|
||||
|
Loading…
x
Reference in New Issue
Block a user