@factor-wise/prisma-schema 2.0.24 → 2.0.25
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 +12 -6
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1627,13 +1627,19 @@ model penny_drop {
|
|
|
1627
1627
|
|
|
1628
1628
|
/// The underlying table does not contain a valid unique identifier and can therefore currently not be handled by Prisma Client.
|
|
1629
1629
|
model pincode {
|
|
1630
|
-
id
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1630
|
+
id BigInt @id @default(autoincrement())
|
|
1631
|
+
pincode String @db.VarChar(10)
|
|
1632
|
+
city String? @db.VarChar(100)
|
|
1633
|
+
state String? @db.VarChar(100)
|
|
1634
|
+
isActive Boolean @default(true)
|
|
1635
|
+
riskLevel Int?
|
|
1636
|
+
priority Int?
|
|
1635
1637
|
|
|
1636
|
-
|
|
1638
|
+
createdAt DateTime @default(now())
|
|
1639
|
+
updatedAt DateTime @updatedAt
|
|
1640
|
+
|
|
1641
|
+
@@unique([pincode])
|
|
1642
|
+
@@index([pincode, isActive])
|
|
1637
1643
|
}
|
|
1638
1644
|
|
|
1639
1645
|
/// The underlying table does not contain a valid unique identifier and can therefore currently not be handled by Prisma Client.
|