game system nav context

sse endpoint
This commit is contained in:
2024-09-08 06:43:39 -06:00
parent 84cbea8ce1
commit a2fde9cc79
12 changed files with 37 additions and 89 deletions

View File

@@ -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