public function getAlters()
    {
        $queries = [];
        if ($this->tablesAlter === null) {
            return $queries;
        }

        $platform = $this->connection->getDatabasePlatform();

        /** @var $tableDiff TableDiff */
        foreach ($this->tablesAlter as $tableName => $tableDiff) {
            $queries[$tableName] = $platform->getAlterTableSQL($tableDiff);
        }

        return $queries;
    }
public function getAlters()
    {
        $queries = [];
        if ($this->tablesAlter === null) {
            return $queries;
        }

        $platform = $this->connection->getDatabasePlatform();

        /** @var $tableDiff TableDiff */
        foreach ($this->tablesAlter as $tableName => $tableDiff) {
            $queries[$tableName] = $platform->getAlterTableSQL($tableDiff);
        }

        return $queries;
    }
public function getAlters ( ) { $ queries = [ ] ; if ( $ this -> tablesAlter === null ) { return $ queries ; } $ platform = $ this -> connection -> getDatabasePlatform ( ) ; /** @var $tableDiff TableDiff */ foreach ( $ this -> tablesAlter as $ tableName => $ tableDiff ) { $ queries [ $ tableName ] = $ platform -> getAlterTableSQL ( $ tableDiff ) ; } return $ queries ; }
Get the table alteration SQL queries.

@return string[]
Get the table alteration SQL queries .