mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Fix variables migration
Set new resourceType attribute to function since all variables were function variables.
This commit is contained in:
parent
f317d33fc7
commit
9aeb15c337
1 changed files with 3 additions and 0 deletions
|
|
@ -695,6 +695,9 @@ class V19 extends Migration
|
|||
$document->setAttribute('smtp', []);
|
||||
$document->setAttribute('templates', []);
|
||||
|
||||
break;
|
||||
case 'variables':
|
||||
$document->setAttribute('resourceType', 'function');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue