public function collect(Table $table)
    {
        foreach ($table->getForeignKeys() as $foreignKey) {
            $this->dropForeignKeyQueries = array_merge(
                $this->dropForeignKeyQueries,
                $this->platform->getDropForeignKeySQLQueries($foreignKey, $table->getName())
            );
        }

        $this->dropTableQueries = array_merge(
            $this->dropTableQueries,
            $this->platform->getDropTableSQLQueries($table)
        );
    }