lol
All checks were successful
Recommender Build and Deploy (internal) / Build Recommender Image (push) Successful in 4m3s
Recommender Build and Deploy (internal) / Deploy Recommender (internal) (push) Successful in 10s

This commit is contained in:
2026-03-26 22:21:59 -03:00
parent deb3a89f56
commit 28204d29ab

View File

@@ -1,4 +1,4 @@
CREATE TABLE "feedback" ( CREATE TABLE IF NOT EXISTS "feedback" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"tv_show_name" text NOT NULL, "tv_show_name" text NOT NULL,
"stars" integer NOT NULL, "stars" integer NOT NULL,
@@ -6,7 +6,7 @@ CREATE TABLE "feedback" (
"created_at" timestamp DEFAULT now() NOT NULL "created_at" timestamp DEFAULT now() NOT NULL
); );
--> statement-breakpoint --> statement-breakpoint
CREATE TABLE "recommendations" ( CREATE TABLE IF NOT EXISTS "recommendations" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL, "id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"title" text NOT NULL, "title" text NOT NULL,
"main_prompt" text NOT NULL, "main_prompt" text NOT NULL,
@@ -19,4 +19,4 @@ CREATE TABLE "recommendations" (
"created_at" timestamp DEFAULT now() NOT NULL "created_at" timestamp DEFAULT now() NOT NULL
); );
--> statement-breakpoint --> statement-breakpoint
CREATE UNIQUE INDEX "feedback_tv_show_name_idx" ON "feedback" USING btree ("tv_show_name"); CREATE UNIQUE INDEX IF NOT EXISTS "feedback_tv_show_name_idx" ON "feedback" USING btree ("tv_show_name");