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);