mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: multiple migrations
This commit is contained in:
@@ -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']}";
|
||||
|
||||
Reference in New Issue
Block a user