fix(migration): add missing 'apis' attribute to projects collection
This change updates the V20 (1.5.x) migration script to create the `apis` attribute in the `projects` collection since it was added to the collections config.
This commit is contained in:
parent
0919b2d06a
commit
cd16542703
|
@ -294,6 +294,13 @@ class V20 extends Migration
|
|||
Console::warning("'oAuthProviders' from {$id}: {$th->getMessage()}");
|
||||
}
|
||||
|
||||
// Create apis attribute
|
||||
try {
|
||||
$this->createAttributeFromCollection($this->projectDB, $id, 'apis');
|
||||
} catch (Throwable $th) {
|
||||
Console::warning("'apis' from {$id}: {$th->getMessage()}");
|
||||
}
|
||||
|
||||
try {
|
||||
$this->projectDB->purgeCachedCollection($id);
|
||||
} catch (Throwable $th) {
|
||||
|
|
Loading…
Reference in a new issue