mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Merge pull request #7997 from appwrite/fix-missing-apis-attribute
Add missing 'apis' attribute to projects collection
This commit is contained in:
commit
a189abdb0a
1 changed files with 7 additions and 0 deletions
|
|
@ -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