aboutsummaryrefslogtreecommitdiffstats
path: root/backend/schema.prisma
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-07-04 22:37:36 -0700
committerPinapelz <yukais@pinapelz.com>2025-07-04 22:37:36 -0700
commit7ccfb9a52cc78a95a4533ab4b971d959bdeecc1c (patch)
treed9c64f6191043b5f370c776f9578d0d46b67f2c7 /backend/schema.prisma
parentaf8af562fb91747228efafdcf8b2ff38ade5343d (diff)
add score json upload functionality
Diffstat (limited to 'backend/schema.prisma')
-rw-r--r--backend/schema.prisma1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/schema.prisma b/backend/schema.prisma
index 0657fdf..49dea07 100644
--- a/backend/schema.prisma
+++ b/backend/schema.prisma
@@ -36,6 +36,7 @@ model Score {
id Int @id @default(autoincrement())
gameInternalName String
userId Int
+ timestamp Int //in UNIX milliseconds
data Json
game Game @relation(fields: [gameInternalName], references: [internalName])
user User @relation(fields: [userId], references: [id])
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage