private function collectColumns(TableDiff $tableDiff)
    {
        foreach ($tableDiff->getCreatedColumns() as $column) {
            $this->createColumnQueries = array_merge(
                $this->createColumnQueries,
                $this->platform->getCreateColumnSQLQueries($column, $tableDiff->getNewAsset()->getName())
            );
        }

        foreach ($tableDiff->getDroppedColumns() as $column) {
            $this->dropColumnQueries = array_merge(
                $this->dropColumnQueries,
                $this->platform->getDropColumnSQLQueries($column, $tableDiff->getNewAsset()->getName())
            );
        }

        foreach ($tableDiff->getAlteredColumns() as $columnDiff) {
            $this->alterColumnQueries = array_merge(
                $this->alterColumnQueries,
                $this->platform->getAlterColumnSQLQueries($columnDiff, $tableDiff->getNewAsset()->getName())
            );
        }
    }
private function collectColumns(TableDiff $tableDiff)
    {
        foreach ($tableDiff->getCreatedColumns() as $column) {
            $this->createColumnQueries = array_merge(
                $this->createColumnQueries,
                $this->platform->getCreateColumnSQLQueries($column, $tableDiff->getNewAsset()->getName())
            );
        }

        foreach ($tableDiff->getDroppedColumns() as $column) {
            $this->dropColumnQueries = array_merge(
                $this->dropColumnQueries,
                $this->platform->getDropColumnSQLQueries($column, $tableDiff->getNewAsset()->getName())
            );
        }

        foreach ($tableDiff->getAlteredColumns() as $columnDiff) {
            $this->alterColumnQueries = array_merge(
                $this->alterColumnQueries,
                $this->platform->getAlterColumnSQLQueries($columnDiff, $tableDiff->getNewAsset()->getName())
            );
        }
    }
private function collectColumns ( TableDiff $ tableDiff ) { foreach ( $ tableDiff -> getCreatedColumns ( ) as $ column ) { $ this -> createColumnQueries = array_merge ( $ this -> createColumnQueries , $ this -> platform -> getCreateColumnSQLQueries ( $ column , $ tableDiff -> getNewAsset ( ) -> getName ( ) ) ) ; } foreach ( $ tableDiff -> getDroppedColumns ( ) as $ column ) { $ this -> dropColumnQueries = array_merge ( $ this -> dropColumnQueries , $ this -> platform -> getDropColumnSQLQueries ( $ column , $ tableDiff -> getNewAsset ( ) -> getName ( ) ) ) ; } foreach ( $ tableDiff -> getAlteredColumns ( ) as $ columnDiff ) { $ this -> alterColumnQueries = array_merge ( $ this -> alterColumnQueries , $ this -> platform -> getAlterColumnSQLQueries ( $ columnDiff , $ tableDiff -> getNewAsset ( ) -> getName ( ) ) ) ; } }
Collects queries about column to alter a table.

@param \Fridge\DBAL\Schema\Diff\TableDiff $tableDiff The table difference.
Collects queries about column to alter a table .