S5: onboarding → minne + smaksignaler (user_stated)

This commit is contained in:
Sven (AAMOS AI)
2026-08-11 04:43:43 +07:00
parent 1e18146665
commit f86a37dd33
26 changed files with 10812 additions and 2 deletions
@@ -0,0 +1,10 @@
-- S5: onboarding → minne + smaksignaler
-- Användarens onboarding-svar speglas som user_stated memory_items och taste_signals.
ALTER TYPE "public"."taste_axis" ADD VALUE IF NOT EXISTS 'cuisine';
ALTER TYPE "public"."taste_axis" ADD VALUE IF NOT EXISTS 'ingredient_avoid';
ALTER TABLE "public"."taste_signals" ADD COLUMN IF NOT EXISTS "target" text;
CREATE UNIQUE INDEX IF NOT EXISTS "memory_items_user_key_unique" ON "public"."memory_items" USING btree ("user_id","key");
CREATE UNIQUE INDEX IF NOT EXISTS "taste_signals_user_axis_target_unique" ON "public"."taste_signals" USING btree ("user_id","axis","target");
File diff suppressed because it is too large Load Diff
+8 -1
View File
@@ -176,6 +176,13 @@
"when": 1786306800000,
"tag": "0025_recipe_status_rejected",
"breakpoints": true
},
{
"idx": 25,
"version": "7",
"when": 1786397281333,
"tag": "0026_s5_onboarding_memory",
"breakpoints": true
}
]
}
}