fix: fix remote browser socket connection and related updates
This commit is contained in:
@@ -101,11 +101,24 @@ model Appointment {
|
||||
staff Staff? @relation(fields: [staffId], references: [id])
|
||||
procedures AppointmentProcedure[]
|
||||
claims Claim[]
|
||||
files AppointmentFile[]
|
||||
|
||||
@@index([patientId])
|
||||
@@index([date])
|
||||
}
|
||||
|
||||
model AppointmentFile {
|
||||
id Int @id @default(autoincrement())
|
||||
appointmentId Int
|
||||
filename String
|
||||
mimeType String?
|
||||
filePath String?
|
||||
|
||||
appointment Appointment @relation(fields: [appointmentId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@index([appointmentId])
|
||||
}
|
||||
|
||||
model Staff {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
|
||||
Reference in New Issue
Block a user