diff --git a/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php b/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php index 4d65ceaa9..780b80a65 100644 --- a/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php +++ b/lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php @@ -685,7 +685,10 @@ abstract class AbstractSchemaManager */ public function alterTable($name, array $changes, $check = false) { - $this->_execSql($this->_platform->getAlterTableSql($name, $changes, $check)); + $queries = $this->_platform->getAlterTableSql($name, $changes, $check); + foreach($queries AS $ddlQuery) { + $this->_execSql($ddlQuery); + } } /**