tv shows to tv series

This commit is contained in:
2026-04-20 19:37:33 -03:00
parent c319dea2bf
commit 5e02ca267f
20 changed files with 396 additions and 117 deletions

View File

@@ -10,8 +10,8 @@ CREATE TABLE IF NOT EXISTS "recommendations" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"title" text NOT NULL,
"main_prompt" text NOT NULL,
"liked_shows" text DEFAULT '' NOT NULL,
"disliked_shows" text DEFAULT '' NOT NULL,
"liked_series" text DEFAULT '' NOT NULL,
"disliked_series" text DEFAULT '' NOT NULL,
"themes" text DEFAULT '' NOT NULL,
"brainstorm_count" integer DEFAULT 100 NOT NULL,
"recommendations" jsonb,

View File

@@ -0,0 +1,2 @@
ALTER TABLE "recommendations" RENAME COLUMN "liked_shows" TO "liked_series";
ALTER TABLE "recommendations" RENAME COLUMN "disliked_shows" TO "disliked_series";

View File

@@ -89,15 +89,15 @@
"primaryKey": false,
"notNull": true
},
"liked_shows": {
"name": "liked_shows",
"liked_series": {
"name": "liked_series",
"type": "text",
"primaryKey": false,
"notNull": true,
"default": "''"
},
"disliked_shows": {
"name": "disliked_shows",
"disliked_series": {
"name": "disliked_series",
"type": "text",
"primaryKey": false,
"notNull": true,