Пример #1
0
 /**
  * Delete a column from a table.
  *
  * @param string $table
  *            Table name.
  * @param string $column
  *            Column nane.
  */
 protected function deleteColumn($table, $column)
 {
     try {
         $this->db->deleteColumn($table, $column);
         $this->definition->deleteColumn($table, $column);
     } catch (\Exception $e) {
         if (!$this->ignoreExceptions) {
             throw $e;
         }
     }
 }