lib/Doctrine/DBAL/Schema/SQLServerSchemaManager.php 1 location
|
@@ 133-135 (lines=3) @@
|
130 |
|
|
131 |
|
$column = new Column($tableColumn['name'], Type::getType($type), $options); |
132 |
|
|
133 |
|
if (isset($tableColumn['collation']) && $tableColumn['collation'] !== 'NULL') { |
134 |
|
$column->setPlatformOption('collation', $tableColumn['collation']); |
135 |
|
} |
136 |
|
|
137 |
|
return $column; |
138 |
|
} |
lib/Doctrine/DBAL/Schema/PostgreSqlSchemaManager.php 1 location
|
@@ 453-455 (lines=3) @@
|
450 |
|
|
451 |
|
$column = new Column($tableColumn['field'], Type::getType($type), $options); |
452 |
|
|
453 |
|
if (isset($tableColumn['collation']) && !empty($tableColumn['collation'])) { |
454 |
|
$column->setPlatformOption('collation', $tableColumn['collation']); |
455 |
|
} |
456 |
|
|
457 |
|
if ($column->getType()->getName() === 'json_array') { |
458 |
|
$column->setPlatformOption('jsonb', $jsonb); |