Exemple #1
0
 /**
  * Adds the specified column to a database table.
  *
  * @param Table  $table  Table
  * @param Column $column Column
  * @return void
  */
 public function addColumn(Table $table, Column $column)
 {
     $this->adapter->addColumn($table, $column);
 }
 /**
  * Adds the specified column to a database table.
  *
  * @param TableMigrationInterface  $table  TableMigrationInterface
  * @param ColumnMigrationInterface $column ColumnMigrationInterface
  *
  * @return TableMigrationInterface
  */
 public function addColumn(TableMigrationInterface $table, ColumnMigrationInterface $column)
 {
     $this->adapter->addColumn($table, $column);
     return $this;
 }