| @@ 300-310 (lines=11) @@ | ||
| 297 | /** |
|
| 298 | * {@inheritdoc} |
|
| 299 | */ |
|
| 300 | public function addColumn(Table $table, Column $column) |
|
| 301 | { |
|
| 302 | $sql = sprintf( |
|
| 303 | 'ALTER TABLE %s ADD COLUMN %s %s', |
|
| 304 | $this->quoteTableName($table->getName()), |
|
| 305 | $this->quoteColumnName($column->getName()), |
|
| 306 | $this->getColumnSqlDefinition($column) |
|
| 307 | ); |
|
| 308 | ||
| 309 | $this->execute($sql); |
|
| 310 | } |
|
| 311 | ||
| 312 | /** |
|
| 313 | * {@inheritdoc} |
|
| @@ 429-439 (lines=11) @@ | ||
| 426 | /** |
|
| 427 | * {@inheritdoc} |
|
| 428 | */ |
|
| 429 | public function addColumn(Table $table, Column $column) |
|
| 430 | { |
|
| 431 | $sql = sprintf( |
|
| 432 | 'ALTER TABLE %s ADD %s %s', |
|
| 433 | $this->quoteTableName($table->getName()), |
|
| 434 | $this->quoteColumnName($column->getName()), |
|
| 435 | $this->getColumnSqlDefinition($column) |
|
| 436 | ); |
|
| 437 | ||
| 438 | $this->execute($sql); |
|
| 439 | } |
|
| 440 | ||
| 441 | /** |
|
| 442 | * {@inheritdoc} |
|