From 9aeb15c3378f9c89dec9ecc16dcb63703168192a Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Sat, 2 Sep 2023 18:35:26 -0700 Subject: [PATCH] Fix variables migration Set new resourceType attribute to function since all variables were function variables. --- src/Appwrite/Migration/Version/V19.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Appwrite/Migration/Version/V19.php b/src/Appwrite/Migration/Version/V19.php index e9f50357d1..ba40a50976 100644 --- a/src/Appwrite/Migration/Version/V19.php +++ b/src/Appwrite/Migration/Version/V19.php @@ -695,6 +695,9 @@ class V19 extends Migration $document->setAttribute('smtp', []); $document->setAttribute('templates', []); + break; + case 'variables': + $document->setAttribute('resourceType', 'function'); break; default: break;