public function getCreates()
    {
        if ($this->tablesCreate === null) {
            return [];
        }

        $platform = $this->connection->getDatabasePlatform();
        $flags = AbstractPlatform::CREATE_INDEXES | AbstractPlatform::CREATE_FOREIGNKEYS;
        $queries = [];

        foreach ($this->tablesCreate as $tableName => $table) {
            $queries[$tableName] = $platform->getCreateTableSQL($table, $flags);
        }

        return $queries;
    }