chore: add variant scoring fields, fix tie handling, and fix test files for normalizedName

This commit is contained in:
2026-03-30 22:48:31 -07:00
parent fb04a6c3f1
commit 5d1755f082
9 changed files with 174 additions and 35 deletions
+3
View File
@@ -65,6 +65,9 @@ model Event {
status String @default("planned")
maxParticipants Int?
ownerId String?
// Variant scoring support
targetScore Int? // Custom target score (default 5 for standard, or 10/15 for variant)
allowTies Boolean @default(false) // Whether ties/draws are valid outcomes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
bracketMatchups BracketMatchup[]