1
0
Fork 0
mirror of synced 2024-05-02 20:02:38 +12:00

Merge pull request #7997 from appwrite/fix-missing-apis-attribute

Add missing 'apis' attribute to projects collection
This commit is contained in:
Eldad A. Fux 2024-04-19 08:00:19 +02:00 committed by GitHub
commit a189abdb0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {