diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-11-07 22:46:34 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-11-07 22:46:34 -0800 |
| commit | 91c737c907f174b5252877876126a8b81e6cb831 (patch) | |
| tree | 2529ded98423308a15d96256dc0f1688f12b69c8 /backend/schema.prisma | |
| parent | 5963d4904cb6e4abe1b379e85a8a29cf03ade6a8 (diff) | |
add support to limit registration to invite codes
Diffstat (limited to 'backend/schema.prisma')
| -rw-r--r-- | backend/schema.prisma | 6 |
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 +} |
