public function collect(SchemaDiff $schemaDiff)
    {
        if ($schemaDiff->getOldAsset()->getName() !== $schemaDiff->getNewAsset()->getName()) {
            $this->renameSchemaQueries = array_merge(
                $this->renameSchemaQueries,
                $this->platform->getRenameDatabaseSQLQueries($schemaDiff)
            );
        }

        $this->collectTables($schemaDiff);
        $this->collectSequences($schemaDiff);
        $this->collectViews($schemaDiff);
    }
public function collect(SchemaDiff $schemaDiff)
    {
        if ($schemaDiff->getOldAsset()->getName() !== $schemaDiff->getNewAsset()->getName()) {
            $this->renameSchemaQueries = array_merge(
                $this->renameSchemaQueries,
                $this->platform->getRenameDatabaseSQLQueries($schemaDiff)
            );
        }

        $this->collectTables($schemaDiff);
        $this->collectSequences($schemaDiff);
        $this->collectViews($schemaDiff);
    }
public function collect ( SchemaDiff $ schemaDiff ) { if ( $ schemaDiff -> getOldAsset ( ) -> getName ( ) !== $ schemaDiff -> getNewAsset ( ) -> getName ( ) ) { $ this -> renameSchemaQueries = array_merge ( $ this -> renameSchemaQueries , $ this -> platform -> getRenameDatabaseSQLQueries ( $ schemaDiff ) ) ; } $ this -> collectTables ( $ schemaDiff ) ; $ this -> collectSequences ( $ schemaDiff ) ; $ this -> collectViews ( $ schemaDiff ) ; }
Collects queries to alter a schema.

@param \Fridge\DBAL\Schema\Diff\SchemaDiff $schemaDiff The schema difference.
Collects queries to alter a schema .