fix: migration custom collection
This commit is contained in:
parent
0d326f7fad
commit
c84a1e4fd8
1 changed files with 4 additions and 0 deletions
|
@ -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')})");
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue