From 87b3df919f0f3538d806847f30f8790e91affc63 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 26 Dec 2022 08:20:16 +0000 Subject: [PATCH] clear cache after migration --- src/Appwrite/Migration/Version/V17.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Migration/Version/V17.php b/src/Appwrite/Migration/Version/V17.php index 999bcc047b..6fddab5b3f 100644 --- a/src/Appwrite/Migration/Version/V17.php +++ b/src/Appwrite/Migration/Version/V17.php @@ -54,6 +54,7 @@ class V17 extends Migration * Create 'passwordHistory' attribute */ $this->createAttributeFromCollection($this->projectDB, $id, 'passwordHistory'); + $this->projectDB->deleteCachedCollection($id); } catch (\Throwable $th) { Console::warning("'region' from {$id}: {$th->getMessage()}"); }