From 7ccfb9a52cc78a95a4533ab4b971d959bdeecc1c Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 4 Jul 2025 22:37:36 -0700 Subject: add score json upload functionality --- backend/schema.prisma | 1 + 1 file changed, 1 insertion(+) (limited to 'backend/schema.prisma') 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]) -- cgit v1.2.3