mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
fix: multiple migrations
This commit is contained in:
parent
9aa7085ae9
commit
8271f87e44
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class V12 extends Migration
|
|||
/**
|
||||
* Remove empty generated Console Project.
|
||||
*/
|
||||
if ($this->projectDB->getNamespace() === '_project_console') {
|
||||
if ($this->consoleDB->getNamespace() === '_project_console' && $projectId === 'console') {
|
||||
$all = [];
|
||||
foreach ($this->collections as $collection) {
|
||||
$all[] = "_{$projectId}_{$collection['$id']}";
|
||||
|
|
|
|||
Loading…
Reference in a new issue