Remove redundant namespace set

This commit is contained in:
Jake Barnby 2025-05-16 17:35:36 +12:00
parent 907d968a5f
commit 43fce76c9b
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -447,8 +447,9 @@ class V23 extends Migration
private function cleanCollections(): void
{
$internalProjectId = $this->project->getInternalId();
$collectionType = match ($internalProjectId) {
$projectInternalId = $this->project->getInternalId();
$collectionType = match ($projectInternalId) {
'console' => 'console',
default => 'projects',
};
@ -459,8 +460,6 @@ class V23 extends Migration
Console::log("Migrating Collection \"{$id}\"");
$this->projectDB->setNamespace("_$internalProjectId");
switch ($id) {
case '_metadata':
if ($this->projectDB->exists('builds')) {