From 04e7434932c57c62c4e51ad3d36f18a0a45643c0 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Mon, 19 Aug 2024 18:07:10 +0900 Subject: [PATCH] Address Christy's Comments --- src/Appwrite/Migration/Version/V21.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/Appwrite/Migration/Version/V21.php b/src/Appwrite/Migration/Version/V21.php index 7a4309cf93..5dc8e159b4 100644 --- a/src/Appwrite/Migration/Version/V21.php +++ b/src/Appwrite/Migration/Version/V21.php @@ -149,16 +149,6 @@ class V21 extends Migration Console::warning("'scheduleId' from {$id}: {$th->getMessage()}"); } break; - case 'files': - try { - /** - * Increase metadata size to 7500 - */ - $this->projectDB->updateAttribute($id, 'metadata', size: 75000); - } catch (\Throwable $th) { - Console::warning("'metadata' from {$id}: {$th->getMessage()}"); - } - break; } usleep(50000); @@ -205,7 +195,7 @@ class V21 extends Migration $bucketId = 'bucket_' . $bucket['$internalId']; try { - $this->projectDB->updateAttribute($bucketId, 'metadata', size: 75000); + $this->projectDB->updateAttribute($bucketId, 'metadata', size: 65000); $this->projectDB->purgeCachedCollection($bucketId); } catch (\Throwable $th) { Console::warning("'bucketId' from {$bucketId}: {$th->getMessage()}");