| @@ 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} |
|
| @@ 412-422 (lines=11) @@ | ||
| 409 | /** |
|
| 410 | * {@inheritdoc} |
|
| 411 | */ |
|
| 412 | protected function getAddColumnInstructions(Table $table, Column $column) |
|
| 413 | { |
|
| 414 | $alter = sprintf( |
|
| 415 | 'ALTER TABLE %s ADD COLUMN %s %s', |
|
| 416 | $this->quoteTableName($table->getName()), |
|
| 417 | $this->quoteColumnName($column->getName()), |
|
| 418 | $this->getColumnSqlDefinition($column) |
|
| 419 | ); |
|
| 420 | ||
| 421 | return new AlterInstructions([], [$alter]); |
|
| 422 | } |
|
| 423 | ||
| 424 | /** |
|
| 425 | * Returns the original CREATE statement for the give table |
|