aboutsummaryrefslogtreecommitdiffstats
path: root/backend/schema.prisma
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-11-07 22:46:34 -0800
committerPinapelz <yukais@pinapelz.com>2025-11-07 22:46:34 -0800
commit91c737c907f174b5252877876126a8b81e6cb831 (patch)
tree2529ded98423308a15d96256dc0f1688f12b69c8 /backend/schema.prisma
parent5963d4904cb6e4abe1b379e85a8a29cf03ade6a8 (diff)
add support to limit registration to invite codes
Diffstat (limited to 'backend/schema.prisma')
-rw-r--r--backend/schema.prisma6
1 files changed, 6 insertions, 0 deletions
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
+}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage