1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

composer.lock

This commit is contained in:
fogelito 2023-06-06 18:45:06 +03:00
parent c889bf54d3
commit 29fef07019
2 changed files with 3 additions and 4 deletions

2
composer.lock generated
View file

@ -5677,5 +5677,5 @@
"platform-overrides": {
"php": "8.0"
},
"plugin-api-version": "2.3.0"
"plugin-api-version": "2.2.0"
}

View file

@ -28,7 +28,7 @@ class V19 extends Migration
Console::log('Migrating Project: ' . $this->project->getAttribute('name') . ' (' . $this->project->getId() . ')');
$this->projectDB->setNamespace("_{$this->project->getInternalId()}");
$this->alterPermissionIndex('_' . $this->project->getInternalId() . '__metadata');
$this->alterPermissionIndex('_metadata');
Console::info('Migrating Databases');
$this->migrateDatabases();
@ -77,7 +77,6 @@ class V19 extends Migration
$this->alterPermissionIndex($id);
usleep(50000);
}
}
@ -143,7 +142,7 @@ class V19 extends Migration
protected function alterPermissionIndex($collectionName): void
{
$collectionName = "`{$this->projectDB->getDefaultDatabase()}`.`{$collectionName}_perms`";
$collectionName = "`{$this->projectDB->getDefaultDatabase()}`.`'_{$this->project->getInternalId()}_{$collectionName}_perms`";
try {
$this->pdo->prepare("ALTER TABLE {$collectionName}