aboutsummaryrefslogtreecommitdiffstats
path: root/backend/schema.prisma
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-07-07 01:07:34 -0700
committerPinapelz <yukais@pinapelz.com>2025-07-07 01:07:41 -0700
commit7fe146f97ddd3f5a8d0c1a996a73cb296c28b9cc (patch)
tree916d2645c6332fe582ca62572a497724e1c8474a /backend/schema.prisma
parent152894146b72830e48e800721ea6160228a9bdc1 (diff)
implement score deletion
Diffstat (limited to 'backend/schema.prisma')
-rw-r--r--backend/schema.prisma4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/schema.prisma b/backend/schema.prisma
index a613628..f51093b 100644
--- a/backend/schema.prisma
+++ b/backend/schema.prisma
@@ -34,9 +34,9 @@ model Game {
}
model Score {
- id Int @id @default(autoincrement())
+ id Int @id @default(autoincrement()) // This is the numerical score number (global)
gameInternalName String
- chartId String
+ chartId String // Refers to the unqiue chart identifier
userId Int
timestamp BigInt // in UNIX milliseconds
data Json
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage