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