Files
spotlightcam/backend/prisma/migrations/20251206125000_add_source_to_matches/migration.sql
Radosław Gierwiało e8c515c477 fix(tests): add missing migrations and fix test assertions
- Add migration for matches.source column (manual/auto source tracking)
- Add migration for matches.stats_applied column (prevent duplicate stats)
- Fix events.test.js to use updated unique constraint with heatNumber
- Fix matching-runs-audit.test.js to set admin flag for admin user
- Skip obsolete auth tests in users.test.js (endpoints are public)

Progress: 8 failed, 348 passed, 9 skipped (down from 42 failures)
2025-12-06 14:22:02 +01:00

3 lines
95 B
SQL

-- AlterTable
ALTER TABLE "matches" ADD COLUMN "source" VARCHAR(20) NOT NULL DEFAULT 'manual';