lib/Doctrine/DBAL/Schema/DB2SchemaManager.php 1 location
|
@@ 108-111 (lines=4) @@
|
| 105 |
|
'platformOptions' => [], |
| 106 |
|
]; |
| 107 |
|
|
| 108 |
|
if ($scale !== null && $precision !== null) { |
| 109 |
|
$options['scale'] = $scale; |
| 110 |
|
$options['precision'] = $precision; |
| 111 |
|
} |
| 112 |
|
|
| 113 |
|
return new Column($tableColumn['colname'], \Doctrine\DBAL\Types\Type::getType($type), $options); |
| 114 |
|
} |
lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php 1 location
|
@@ 217-220 (lines=4) @@
|
| 214 |
|
: null, |
| 215 |
|
]; |
| 216 |
|
|
| 217 |
|
if ($scale !== null && $precision !== null) { |
| 218 |
|
$options['scale'] = $scale; |
| 219 |
|
$options['precision'] = $precision; |
| 220 |
|
} |
| 221 |
|
|
| 222 |
|
$column = new Column($tableColumn['field'], Type::getType($type), $options); |
| 223 |
|
|