game system nav context
sse endpoint
This commit is contained in:
@@ -14,9 +14,10 @@ model GameSystem {
|
||||
authorId String
|
||||
followers GameSystemFollows[]
|
||||
|
||||
name String @unique
|
||||
created DateTime @default(now())
|
||||
isPublic Boolean @default(false)
|
||||
name String @unique
|
||||
created DateTime @default(now())
|
||||
isPublic Boolean @default(false)
|
||||
thingUsers User[] @relation("currentGame")
|
||||
}
|
||||
|
||||
model Schema {
|
||||
@@ -106,6 +107,8 @@ model User {
|
||||
sessions Session[]
|
||||
PublicationRevision PublicationRevision[]
|
||||
followedSystems GameSystemFollows[]
|
||||
currentGameSystem GameSystem? @relation("currentGame", fields: [currentGameSystemId], references: [id])
|
||||
currentGameSystemId String?
|
||||
|
||||
name String?
|
||||
username String? @unique
|
||||
|
Reference in New Issue
Block a user