feat(server): add Program and Award database models

- Add Program and Award tables to Prisma schema
- Update program-config.service to support database with JSON fallback
- Update ProgramCard.vue display logic for dynamic teamName/performer
- Add seed script to import data from JSON config

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
empty
2026-02-03 22:26:47 +08:00
parent b5fa4c7086
commit 406a5afa33
5 changed files with 374 additions and 49 deletions

View File

@@ -11,7 +11,7 @@
"db:generate": "prisma generate",
"db:migrate": "prisma migrate dev",
"db:push": "prisma db push",
"db:seed": "tsx src/scripts/seed.ts",
"db:seed": "tsx prisma/seed.ts",
"test": "vitest",
"test:load": "artillery run load-test/vote-load-test.yaml -e standard",
"test:load:smoke": "artillery run load-test/vote-load-test.yaml -e smoke",