diff --git a/src/Appwrite/Migration/Version/V12.php b/src/Appwrite/Migration/Version/V12.php index 6bba8b11f5..054ef4f08c 100644 --- a/src/Appwrite/Migration/Version/V12.php +++ b/src/Appwrite/Migration/Version/V12.php @@ -379,6 +379,10 @@ class V12 extends Migration $id = $collection->getId(); $projectId = $this->project->getId(); $internalId = $collection->getInternalId(); + + if ($this->projectDB->exists(App::getEnv('_APP_DB_SCHEMA', 'appwrite'), "collection_{$internalId}")) { + return; + } Console::log("- {$id} ({$collection->getAttribute('name')})"); /**