/**
* {@inheritdoc}
*
* @throws \Doctrine\DBAL\DBALException
* @throws Exception
*/
public function dropColumn($table,
$column) { $this->
validate($table,
$column);
if ($this->tableMapping->
isCoreColumn($table,
$column)) { throw new Exception(sprintf('Provided column is an core attribute column: %s',
$column));
} $sql =
sprintf('ALTER TABLE `%s` DROP `%s`',
$table,
$column);
$this->connection->
executeQuery($sql);
} /**
* {@inheritdoc}
*
* @throws \Doctrine\DBAL\DBALException
* @throws Exception
*/