mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-14 00:31:25 +10:00
fix(prisma): update prisma schemas
This commit is contained in:
@ -29,7 +29,9 @@ model Game {
|
||||
mImageLibrary String[] // linked to objects in s3
|
||||
|
||||
versions GameVersion[]
|
||||
libraryBasePath String @unique // Base dir for all the game versions
|
||||
libraryBasePath String @unique // Base dir for all the game versions
|
||||
|
||||
collections CollectionEntry[]
|
||||
|
||||
@@unique([metadataSource, metadataId], name: "metadataKey")
|
||||
}
|
||||
|
||||
@ -7,10 +7,10 @@ model User {
|
||||
displayName String
|
||||
profilePicture String // Object
|
||||
|
||||
authMecs LinkedAuthMec[]
|
||||
clients Client[]
|
||||
|
||||
authMecs LinkedAuthMec[]
|
||||
clients Client[]
|
||||
notifications Notification[]
|
||||
collections Collection[]
|
||||
}
|
||||
|
||||
model Notification {
|
||||
@ -21,7 +21,7 @@ model Notification {
|
||||
userId String
|
||||
user User @relation(fields: [userId], references: [id])
|
||||
|
||||
created DateTime @default(now())
|
||||
created DateTime @default(now())
|
||||
title String
|
||||
description String
|
||||
actions String[]
|
||||
|
||||
Reference in New Issue
Block a user