Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
- Add mail/transfer/reshuffle/redistribute icons to each juror row in Members card - New redistributeJurorAssignments procedure: reassign all pending projects without dropping juror from group - New DROPOUT_REASSIGNED email template with project names, deadline, and dropped juror context - Update reassignDroppedJuror to send per-juror DROPOUT_REASSIGNED emails instead of generic BATCH_ASSIGNED - Transfer dialog now shows all candidates with "Already assigned" / "At cap" labels instead of hiding them - SQL script for prod DB insertion of new notification setting without seeding Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
650 B
SQL
17 lines
650 B
SQL
-- Insert DROPOUT_REASSIGNED notification email setting into production DB
|
|
-- Run manually: psql -d mopc -f prisma/migrations/insert-dropout-reassigned-setting.sql
|
|
-- Safe to run multiple times (uses ON CONFLICT to skip if already exists)
|
|
|
|
INSERT INTO "NotificationEmailSetting" (
|
|
"id", "notificationType", "category", "label", "description", "sendEmail", "createdAt", "updatedAt"
|
|
) VALUES (
|
|
gen_random_uuid()::text,
|
|
'DROPOUT_REASSIGNED',
|
|
'jury',
|
|
'Juror Dropout Reassignment',
|
|
'When projects are reassigned to you because a juror dropped out or became unavailable',
|
|
true,
|
|
NOW(),
|
|
NOW()
|
|
) ON CONFLICT ("notificationType") DO NOTHING;
|