From 26e03dfdbafa96a7f540d3631212a88e4a983065 Mon Sep 17 00:00:00 2001 From: lorinjameson Date: Wed, 25 Oct 2023 16:39:19 -0400 Subject: [PATCH] Updated create groups --- create-default-groups.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/create-default-groups.js b/create-default-groups.js index 28e1133..e68f405 100644 --- a/create-default-groups.js +++ b/create-default-groups.js @@ -291,14 +291,12 @@ const main = async (options) => { } // Make sure we have a DEFAULT_CONTEXT tag_definition - const tagCreateResp = await supabase.from('tag_definitions').upsert( - { - name: 'DEFAULT_CONTEXT', - target_type: 'context', - scope: 'system', - }, - { onConflict: 'name, target_type, scope' } - ); + const tagCreateResp = await supabase.from('tag_definitions').upsert({ + id: 'bb2d0a6e-3f43-4e82-819d-ca78c7172981', + name: 'DEFAULT_CONTEXT', + target_type: 'context', + scope: 'system', + }); }; const optionDefinitions = [