From 9827d80f9cddf7b48ad4908ebd3831b2e160e766 Mon Sep 17 00:00:00 2001 From: fogelito Date: Wed, 7 Jun 2023 10:30:35 +0300 Subject: [PATCH] Add buckets --- src/Appwrite/Migration/Version/V19.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Appwrite/Migration/Version/V19.php b/src/Appwrite/Migration/Version/V19.php index 08f4789317..c2a593be25 100644 --- a/src/Appwrite/Migration/Version/V19.php +++ b/src/Appwrite/Migration/Version/V19.php @@ -169,6 +169,8 @@ class V19 extends Migration */ protected function migrateBuckets(): void { + $this->alterPermissionIndex('buckets'); + foreach ($this->documentsIterator('buckets') as $bucket) { $id = "bucket_{$bucket->getInternalId()}"; $this->alterPermissionIndex($id);