From ed85099d3705f34944b2037d0d5d75a60e529f80 Mon Sep 17 00:00:00 2001 From: smyalygames Date: Sun, 26 Feb 2023 01:53:58 +0000 Subject: [PATCH] feat(arabot): remove EventStat link table --- prisma/schema.prisma | 9 --------- 1 file changed, 9 deletions(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 08065a8..33d427b 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -103,15 +103,6 @@ model EventType { Event Event[] } -model EventStat { - event Event @relation(fields: [eventId], references: [id]) - eventId Int - stat Stat @relation(fields: [statId], references: [id]) - statId Int - - @@id([eventId, statId]) -} - model Stat { id Int @id @default(autoincrement()) leader User @relation("statLeader", fields: [leaderId], references: [id]) // Not sure if this will stay