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 { /**