@factor-wise/prisma-schema 2.0.26 → 2.0.27
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 +8 -7
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1629,17 +1629,18 @@ model penny_drop {
|
|
|
1629
1629
|
model pincode {
|
|
1630
1630
|
id BigInt @id @default(autoincrement())
|
|
1631
1631
|
pincode String @db.VarChar(10)
|
|
1632
|
-
|
|
1632
|
+
cityName String? @db.VarChar(100)
|
|
1633
1633
|
state String? @db.VarChar(100)
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1634
|
+
geoTag String? @db.VarChar(20)
|
|
1635
|
+
geography String? @db.VarChar(50)
|
|
1636
|
+
cityTier String? @db.VarChar(20)
|
|
1637
|
+
isActive Boolean @default(true)
|
|
1638
|
+
serviceable Boolean @default(true)
|
|
1638
1639
|
createdAt DateTime @default(now())
|
|
1639
1640
|
updatedAt DateTime @updatedAt
|
|
1640
1641
|
|
|
1641
|
-
@@unique([pincode])
|
|
1642
|
-
@@index([pincode, isActive])
|
|
1642
|
+
@@unique([pincode])
|
|
1643
|
+
@@index([pincode, isActive, serviceable])
|
|
1643
1644
|
}
|
|
1644
1645
|
|
|
1645
1646
|
/// The underlying table does not contain a valid unique identifier and can therefore currently not be handled by Prisma Client.
|