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;
    }
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;
    }
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 ; }
Get the table creation SQL queries.

@return string[]
Get the table creation SQL queries .