| @@ 299-309 (lines=11) @@ | ||
| 296 | /** |
|
| 297 | * {@inheritdoc} |
|
| 298 | */ |
|
| 299 | public function addColumn(Table $table, Column $column) |
|
| 300 | { |
|
| 301 | $sql = sprintf( |
|
| 302 | 'ALTER TABLE %s ADD COLUMN %s %s', |
|
| 303 | $this->quoteTableName($table->getName()), |
|
| 304 | $this->quoteColumnName($column->getName()), |
|
| 305 | $this->getColumnSqlDefinition($column) |
|
| 306 | ); |
|
| 307 | ||
| 308 | $this->execute($sql); |
|
| 309 | } |
|
| 310 | ||
| 311 | /** |
|
| 312 | * {@inheritdoc} |
|
| @@ 428-438 (lines=11) @@ | ||
| 425 | /** |
|
| 426 | * {@inheritdoc} |
|
| 427 | */ |
|
| 428 | public function addColumn(Table $table, Column $column) |
|
| 429 | { |
|
| 430 | $sql = sprintf( |
|
| 431 | 'ALTER TABLE %s ADD %s %s', |
|
| 432 | $this->quoteTableName($table->getName()), |
|
| 433 | $this->quoteColumnName($column->getName()), |
|
| 434 | $this->getColumnSqlDefinition($column) |
|
| 435 | ); |
|
| 436 | ||
| 437 | $this->execute($sql); |
|
| 438 | } |
|
| 439 | ||
| 440 | /** |
|
| 441 | * {@inheritdoc} |
|
| @@ 397-407 (lines=11) @@ | ||
| 394 | /** |
|
| 395 | * {@inheritdoc} |
|
| 396 | */ |
|
| 397 | public function addColumn(Table $table, Column $column) |
|
| 398 | { |
|
| 399 | $sql = sprintf( |
|
| 400 | 'ALTER TABLE %s ADD %s %s', |
|
| 401 | $this->quoteTableName($table->getName()), |
|
| 402 | $this->quoteColumnName($column->getName()), |
|
| 403 | $this->getColumnSqlDefinition($column) |
|
| 404 | ); |
|
| 405 | ||
| 406 | $this->execute($sql); |
|
| 407 | } |
|
| 408 | ||
| 409 | /** |
|
| 410 | * {@inheritdoc} |
|