Files
euchre_camp/prisma/migrations/20260330200000_add_event_participant_unique/migration.sql
T

3 lines
161 B
SQL

-- Add unique constraint to EventParticipant table
CREATE UNIQUE INDEX "event_participants_eventId_playerId_key" ON "event_participants"("eventId", "playerId");