@@ 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} |
@@ 314-324 (lines=11) @@ | ||
311 | /** |
|
312 | * {@inheritdoc} |
|
313 | */ |
|
314 | public function addColumn(Table $table, Column $column) |
|
315 | { |
|
316 | $sql = sprintf( |
|
317 | 'ALTER TABLE %s ADD COLUMN %s %s', |
|
318 | $this->quoteTableName($table->getName()), |
|
319 | $this->quoteColumnName($column->getName()), |
|
320 | $this->getColumnSqlDefinition($column) |
|
321 | ); |
|
322 | ||
323 | $this->execute($sql); |
|
324 | } |
|
325 | ||
326 | /** |
|
327 | * {@inheritdoc} |