@factor-wise/prisma-schema 2.0.83 → 2.0.84
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 -8
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -745,14 +745,15 @@ model customer {
|
|
|
745
745
|
}
|
|
746
746
|
|
|
747
747
|
model customer_extended {
|
|
748
|
-
id
|
|
749
|
-
customerID
|
|
750
|
-
isBtCase
|
|
751
|
-
attempts
|
|
752
|
-
lastAttempt
|
|
753
|
-
latitude
|
|
754
|
-
longitude
|
|
755
|
-
|
|
748
|
+
id Int @id @default(autoincrement())
|
|
749
|
+
customerID Int @unique
|
|
750
|
+
isBtCase Boolean @default(false)
|
|
751
|
+
attempts Int? @default(0)
|
|
752
|
+
lastAttempt DateTime?
|
|
753
|
+
latitude Decimal? @db.Decimal(10, 7)
|
|
754
|
+
longitude Decimal? @db.Decimal(10, 7)
|
|
755
|
+
selfieAttempts Int? @default(0)
|
|
756
|
+
customer customer @relation(fields: [customerID], references: [customerID])
|
|
756
757
|
|
|
757
758
|
@@index([latitude, longitude])
|
|
758
759
|
}
|