lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
public function alterTable(TableDiff $tableDiff)
    {
        $queries = $this->_platform->getAlterTableSQL($tableDiff);
        if (! is_array($queries) || ! count($queries)) {
            return;
        }

        foreach ($queries as $ddlQuery) {
            $this->_execSql($ddlQuery);
        }
    }
public function alterTable(TableDiff $tableDiff)
    {
        $queries = $this->_platform->getAlterTableSQL($tableDiff);
        if (! is_array($queries) || ! count($queries)) {
            return;
        }

        foreach ($queries as $ddlQuery) {
            $this->_execSql($ddlQuery);
        }
    }
public function alterTable ( TableDiff $ tableDiff ) { $ queries = $ this -> _platform -> getAlterTableSQL ( $ tableDiff ) ; if ( ! is_array ( $ queries ) || ! count ( $ queries ) ) { return ; } foreach ( $ queries as $ ddlQuery ) { $ this -> _execSql ( $ ddlQuery ) ; } }
Alters an existing tables schema.

@return void
Alters an existing tables schema .