Add specific team chat channels, and update README

This commit is contained in:
Brian McGonagill 2026-03-25 08:32:15 -05:00
parent e2a95252bb
commit 2ab11f7a4b
8 changed files with 351 additions and 97 deletions

View file

@ -135,12 +135,13 @@ model PhotoSubmission {
model ChatMessage {
id String @id @default(uuid())
gameId String
game Game @relation(fields: [gameId], references: [id], onDelete: Cascade)
game Game @relation(fields: [gameId], references: [id], onDelete: Cascade)
teamId String?
team Team? @relation(fields: [teamId], references: [id])
team Team? @relation(fields: [teamId], references: [id])
userId String
user User @relation(fields: [userId], references: [id])
user User @relation(fields: [userId], references: [id])
message String
isDirect Boolean @default(false)
sentAt DateTime @default(now())
}