1
0
Fork 0
mirror of synced 2024-07-02 21:20:58 +12:00

fix: project internal id migration

This commit is contained in:
Torsten Dittmann 2022-06-27 18:26:24 +02:00
parent c0649f7385
commit ff219cf91a

View file

@ -187,7 +187,7 @@ class V14 extends Migration
/**
* Update metadata table.
*/
$this->pdo->prepare("UPDATE `{$this->projectDB->getDefaultDatabase()}`.`_{$internalId}__metadata`
$this->pdo->prepare("UPDATE `{$this->projectDB->getDefaultDatabase()}`.`_{$this->project->getInternalId()}__metadata`
SET
_uid = 'database_1_collection_{$internalId}',
name = 'database_1_collection_{$internalId}'