| @@ 483-493 (lines=11) @@ | ||
| 480 | /** |
|
| 481 | * {@inheritdoc} |
|
| 482 | */ |
|
| 483 | protected function getAddColumnInstructions(Table $table, Column $column) |
|
| 484 | { |
|
| 485 | $alter = sprintf( |
|
| 486 | 'ALTER TABLE %s ADD %s %s', |
|
| 487 | $table->getName(), |
|
| 488 | $this->quoteColumnName($column->getName()), |
|
| 489 | $this->getColumnSqlDefinition($column) |
|
| 490 | ); |
|
| 491 | ||
| 492 | return new AlterInstructions([], [$alter]); |
|
| 493 | } |
|
| 494 | ||
| 495 | /** |
|
| 496 | * {@inheritdoc} |
|
| @@ 575-585 (lines=11) @@ | ||
| 572 | /** |
|
| 573 | * {@inheritdoc} |
|
| 574 | */ |
|
| 575 | protected function getAddColumnInstructions(Table $table, Column $column) |
|
| 576 | { |
|
| 577 | $alter = sprintf( |
|
| 578 | 'ALTER TABLE %s ADD COLUMN %s %s', |
|
| 579 | $this->quoteTableName($table->getName()), |
|
| 580 | $this->quoteColumnName($column->getName()), |
|
| 581 | $this->getColumnSqlDefinition($column) |
|
| 582 | ); |
|
| 583 | ||
| 584 | return new AlterInstructions([], [$alter]); |
|
| 585 | } |
|
| 586 | ||
| 587 | /** |
|
| 588 | * Returns the original CREATE statement for the give table |
|