From 51b2b88dc09b3800ab1d6c784fc0f447524b012c Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 2 Mar 2022 17:31:28 +0100 Subject: [PATCH] fix: executions migration --- src/Appwrite/Migration/Version/V12.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/Appwrite/Migration/Version/V12.php b/src/Appwrite/Migration/Version/V12.php index 415aaf7713..69447166f0 100644 --- a/src/Appwrite/Migration/Version/V12.php +++ b/src/Appwrite/Migration/Version/V12.php @@ -260,6 +260,18 @@ class V12 extends Migration break; + case 'executions': + try { + /** + * Rename tag to deployment + */ + $this->projectDB->renameAttribute($id, 'tagId', 'deploymentId'); + } catch (\Throwable $th) { + Console::warning("'deploymentId' from {$id}: {$th->getMessage()}"); + } + + break; + case 'teams': try { /**