diff --git a/src/Appwrite/Migration/Version/V17.php b/src/Appwrite/Migration/Version/V17.php index 59c57ff794..3f744d8069 100644 --- a/src/Appwrite/Migration/Version/V17.php +++ b/src/Appwrite/Migration/Version/V17.php @@ -81,6 +81,18 @@ class V17 extends Migration Console::warning("'mimeType' from {$id}: {$th->getMessage()}"); } + try { + /** + * Create 'bucketInternalId' attribute + */ + $this->createAttributeFromCollection($this->projectDB, $id, 'bucketInternalId'); + $this->projectDB->deleteCachedCollection($id); + } catch (\Throwable $th) { + Console::warning("'deploymentInternalId' from {$id}: {$th->getMessage()}"); + } + break; + + case 'builds': try { /** * Delete 'endTime' attribute (use startTime+duration if needed)