schema: add isChair to AwardJuror, justification to AwardVote

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matt
2026-04-06 16:33:13 -04:00
parent 3ccf9b0542
commit a002f544a6
2 changed files with 10 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
-- AlterTable
ALTER TABLE "AwardJuror" ADD COLUMN "isChair" BOOLEAN NOT NULL DEFAULT false;
-- AlterTable
ALTER TABLE "AwardVote" ADD COLUMN "justification" TEXT;

View File

@@ -1649,6 +1649,7 @@ model AwardJuror {
id String @id @default(cuid())
awardId String
userId String
isChair Boolean @default(false)
createdAt DateTime @default(now())
@@ -1667,6 +1668,7 @@ model AwardVote {
userId String
projectId String
rank Int? // For RANKED mode
justification String? @db.Text
votedAt DateTime @default(now())
// Relations