From 91c737c907f174b5252877876126a8b81e6cb831 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 7 Nov 2025 22:46:34 -0800 Subject: add support to limit registration to invite codes --- backend/schema.prisma | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backend/schema.prisma') diff --git a/backend/schema.prisma b/backend/schema.prisma index fbc2f90..26f57dd 100644 --- a/backend/schema.prisma +++ b/backend/schema.prisma @@ -55,3 +55,9 @@ model Charts { game Game @relation(fields: [gameInternalName], references: [internalName]) scores Score[] } + +model InviteCodes { + id Int @id @default(autoincrement()) + code String @unique + remaining Int +} -- cgit v1.2.3