global fix and add tauri app
This commit is contained in:
@@ -418,6 +418,7 @@ model ChatRoomMember {
|
||||
roomId String
|
||||
userId String
|
||||
notificationsMuted Boolean @default(false)
|
||||
pinnedAt DateTime?
|
||||
lastReadAt DateTime?
|
||||
lastReadMessageId String?
|
||||
joinedAt DateTime @default(now())
|
||||
@@ -425,6 +426,7 @@ model ChatRoomMember {
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@unique([roomId, userId])
|
||||
@@index([userId, pinnedAt])
|
||||
}
|
||||
|
||||
model ChatMessage {
|
||||
|
||||
Reference in New Issue
Block a user