From 63616ae2cee7b18f29781edee6628207467b37a3 Mon Sep 17 00:00:00 2001 From: Marvin Arnold Date: Tue, 12 Dec 2023 19:51:14 -0600 Subject: [PATCH] build: add version to feedback_cards --- .../migrations/20231213014353_versioned_feedback.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 packages/web/supabase/migrations/20231213014353_versioned_feedback.sql diff --git a/packages/web/supabase/migrations/20231213014353_versioned_feedback.sql b/packages/web/supabase/migrations/20231213014353_versioned_feedback.sql new file mode 100644 index 00000000..e34ba8e2 --- /dev/null +++ b/packages/web/supabase/migrations/20231213014353_versioned_feedback.sql @@ -0,0 +1,7 @@ +alter table "public"."feedback_cards" add column "model_version" text; + +update feedback_cards +set + model_version = 'v0.0.1'; + +alter table "public"."feedback_cards" alter column "model_version" set not null;