@factor-wise/prisma-schema 2.0.108 → 2.0.109
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 +9 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -767,8 +767,10 @@ model customer_extended {
|
|
|
767
767
|
longitude Decimal? @db.Decimal(10, 7)
|
|
768
768
|
selfieAttempts Int? @default(0)
|
|
769
769
|
kidGenerateAt DateTime? @default(now()) @db.DateTime(0)
|
|
770
|
+
locationType LocationType?
|
|
770
771
|
customer customer @relation(fields: [customerID], references: [customerID])
|
|
771
772
|
|
|
773
|
+
@@unique([customerID, locationType])
|
|
772
774
|
@@index([latitude, longitude])
|
|
773
775
|
}
|
|
774
776
|
|
|
@@ -3755,6 +3757,13 @@ model customer_notifications {
|
|
|
3755
3757
|
@@index([type])
|
|
3756
3758
|
}
|
|
3757
3759
|
|
|
3760
|
+
enum LocationType {
|
|
3761
|
+
login
|
|
3762
|
+
leadCreation
|
|
3763
|
+
leadRejection
|
|
3764
|
+
selfie
|
|
3765
|
+
}
|
|
3766
|
+
|
|
3758
3767
|
enum NotificationStatus {
|
|
3759
3768
|
PENDING
|
|
3760
3769
|
SENT
|