feat: schema — mentor assignment drop tracking

Adds 3 nullable fields to MentorAssignment for drop lifecycle:
- droppedAt: timestamp of drop (null while active)
- droppedReason: free text (required when droppedAt is set)
- droppedBy: 'mentor' | 'admin' | 'finalist_unconfirmed'

Migration is purely additive: no DROP, no ALTER COLUMN, no RENAME.
All existing rows automatically get NULL for the new columns.
This commit is contained in:
Matt
2026-04-28 18:34:49 +02:00
parent 57ec28edad
commit 6487f4b209
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
-- AlterTable
ALTER TABLE "MentorAssignment" ADD COLUMN "droppedAt" TIMESTAMP(3),
ADD COLUMN "droppedBy" TEXT,
ADD COLUMN "droppedReason" TEXT;