public function collect(Table $table)
    {
        $this->createTableQueries = array_merge(
            $this->createTableQueries,
            $this->platform->getCreateTableSQLQueries($table, array('foreign_key' => false))
        );

        foreach ($table->getForeignKeys() as $foreignKey) {
            $this->createForeignKeyQueries = array_merge(
                $this->createForeignKeyQueries,
                $this->platform->getCreateForeignKeySQLQueries($foreignKey, $table->getName())
            );
        }
    }