feat(server): Drizzle + PostgreSQL schema + Open Trivia DB seed #5
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feature/quiz-db"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
quiz_played, game_history), client (nullable — no DATABASE_URL → null),
drizzle.config, initial migration, migrate script
decode (incl. type/difficulty), 1 req/5s rate limit, idempotent
(prompt unique); also seeds the FR in-code bank as source 'manual'
excludes already-played), records quiz_played for cross-session
anti-repeat; falls back to the in-code bank when no DB
Roadmap V1 step 5. Verified against a real Postgres: migrate + seed (270
OpenTDB + 10 manual), DB-backed game serves OpenTDB questions and fills
quiz_played; no-DB fallback still serves the in-code bank.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com