1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

fix: migration custom collection

This commit is contained in:
Torsten Dittmann 2022-03-02 12:37:54 +01:00
parent 0d326f7fad
commit c84a1e4fd8

View file

@ -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')})");
/**