public function removeColumn(Column $column) { $name = $this->quoteName($column->getDatabase(), $column->getTable()); if (!$column->isSynced()) { $column->load(); } /* If this column has a reference, we need to drop it first */ $this->dropConstraint($column); $this->dropForeignConstraints($column); $this->query("ALTER TABLE {$name} DROP " . $this->quoteName($column)); return $this; }