mirror of
https://github.com/vitalityAI/therapist.git
synced 2025-04-08 05:40:17 -04:00
operator unique
This commit is contained in:
parent
ebd90d7fe0
commit
07fbc1ab29
|
@ -20,7 +20,7 @@ model Session {
|
||||||
callId String @unique
|
callId String @unique
|
||||||
callerPhone String
|
callerPhone String
|
||||||
|
|
||||||
operatorPhone String? @unique
|
operatorPhone String?
|
||||||
operator Operator? @relation(fields: [operatorPhone], references: [phoneNumber])
|
operator Operator? @relation(fields: [operatorPhone], references: [phoneNumber])
|
||||||
|
|
||||||
messages Message[]
|
messages Message[]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user