@bash-app/bash-common 11.0.0 → 11.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/schema.prisma +2 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -776,6 +776,7 @@ model Contact {
|
|
|
776
776
|
id String @id @default(cuid())
|
|
777
777
|
contactOwnerId String
|
|
778
778
|
contactOwner User @relation(fields: [contactOwnerId], references: [id], onDelete: Cascade)
|
|
779
|
+
email String?
|
|
779
780
|
fullName String?
|
|
780
781
|
phone String?
|
|
781
782
|
contactEmail String?
|
|
@@ -783,7 +784,7 @@ model Contact {
|
|
|
783
784
|
requestToConnectSent DateTime?
|
|
784
785
|
requestToConnectAccepted DateTime?
|
|
785
786
|
|
|
786
|
-
@@unique([contactOwnerId,
|
|
787
|
+
@@unique([contactOwnerId, email])
|
|
787
788
|
@@index([contactEmail])
|
|
788
789
|
}
|
|
789
790
|
|