public function dropColumn($name)
    {
        $this->requireColumn($name);
        $this->alter('DROP COLUMN ' . $this->_database->prepareIdentifier($name));
        unset($this->_columns[$name]); // Update column cache
        $this->_updateConstraints($name, null);
    }
public function dropColumn($name)
    {
        $this->requireColumn($name);
        $this->alter('DROP COLUMN ' . $this->_database->prepareIdentifier($name));
        unset($this->_columns[$name]); // Update column cache
        $this->_updateConstraints($name, null);
    }
public function dropColumn ( $ name ) { $ this -> requireColumn ( $ name ) ; $ this -> alter ( 'DROP COLUMN ' . $ this -> _database -> prepareIdentifier ( $ name ) ) ; unset ( $ this -> _columns [ $ name ] ) ; // Update column cache $ this -> _updateConstraints ( $ name , null ) ; }
Drop a column
@param string $name Column name
Drop a column