From eeae01af098458f8a7d0bc8844bb59a1ef57f40b Mon Sep 17 00:00:00 2001 From: davidsklar99 Date: Thu, 31 Jul 2025 09:27:48 -0400 Subject: [PATCH] Update model feedback schema --- cli/macrostrat/cli/database/rockd/model-feedback-schema.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/macrostrat/cli/database/rockd/model-feedback-schema.sql b/cli/macrostrat/cli/database/rockd/model-feedback-schema.sql index 19f8936fd..db62a5c3a 100644 --- a/cli/macrostrat/cli/database/rockd/model-feedback-schema.sql +++ b/cli/macrostrat/cli/database/rockd/model-feedback-schema.sql @@ -7,5 +7,6 @@ CREATE TABLE IF NOT EXISTS public.model_feedback ( text_appropriateness float, image_appropriateness float NOT NULL, status_code integer NOT NULL, - date_created timestamp with time zone NOT NULL DEFAULT now() + date_created timestamp with time zone NOT NULL DEFAULT now(), + user_id integer REFERENCES public.peoeple(person_id) ON DELETE CASCADE ); \ No newline at end of file