@@ -267,9 +267,9 @@ discard block |
||
| 267 | 267 | // Handle id => "field_name" to support AUTO_INCREMENT |
| 268 | 268 | $column = new Column(); |
| 269 | 269 | $column->setName($options['id']) |
| 270 | - ->setType('integer') |
|
| 271 | - ->setSigned(isset($options['signed']) ? $options['signed'] : true) |
|
| 272 | - ->setIdentity(true); |
|
| 270 | + ->setType('integer') |
|
| 271 | + ->setSigned(isset($options['signed']) ? $options['signed'] : true) |
|
| 272 | + ->setIdentity(true); |
|
| 273 | 273 | |
| 274 | 274 | if (isset($options['limit'])) { |
| 275 | 275 | $column->setLimit($options['limit']); |
@@ -444,12 +444,12 @@ discard block |
||
| 444 | 444 | |
| 445 | 445 | $column = new Column(); |
| 446 | 446 | $column->setName($columnInfo['Field']) |
| 447 | - ->setNull($columnInfo['Null'] !== 'NO') |
|
| 448 | - ->setDefault($columnInfo['Default']) |
|
| 449 | - ->setType($phinxType['name']) |
|
| 450 | - ->setSigned(strpos($columnInfo['Type'], 'unsigned') === false) |
|
| 451 | - ->setLimit($phinxType['limit']) |
|
| 452 | - ->setScale($phinxType['scale']); |
|
| 447 | + ->setNull($columnInfo['Null'] !== 'NO') |
|
| 448 | + ->setDefault($columnInfo['Default']) |
|
| 449 | + ->setType($phinxType['name']) |
|
| 450 | + ->setSigned(strpos($columnInfo['Type'], 'unsigned') === false) |
|
| 451 | + ->setLimit($phinxType['limit']) |
|
| 452 | + ->setScale($phinxType['scale']); |
|
| 453 | 453 | |
| 454 | 454 | if ($columnInfo['Extra'] === 'auto_increment') { |
| 455 | 455 | $column->setIdentity(true); |