mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Remove redundant namespace set
This commit is contained in:
parent
907d968a5f
commit
43fce76c9b
1 changed files with 3 additions and 4 deletions
|
|
@ -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')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue