@factor-wise/prisma-schema 2.0.79 → 2.0.80

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factor-wise/prisma-schema",
3
- "version": "2.0.79",
3
+ "version": "2.0.80",
4
4
  "description": "Shared Prisma schema and generated client for Factor Wise projects",
5
5
  "main": "generated/client/index.js",
6
6
  "types": "generated/client/index.d.ts",
@@ -1816,20 +1816,28 @@ model penny_drop {
1816
1816
 
1817
1817
  /// The underlying table does not contain a valid unique identifier and can therefore currently not be handled by Prisma Client.
1818
1818
  model pincode {
1819
- id BigInt @id @default(autoincrement())
1820
- pincode String @db.VarChar(10)
1821
- cityName String? @db.VarChar(100)
1822
- state String? @db.VarChar(100)
1823
- geoTag String? @db.VarChar(20)
1824
- geography String? @db.VarChar(50)
1825
- cityTier String? @db.VarChar(20)
1826
- isActive Boolean @default(true)
1827
- serviceable Boolean @default(true)
1828
- createdAt DateTime @default(now())
1829
- updatedAt DateTime @updatedAt
1819
+ id BigInt @id @default(autoincrement())
1820
+ pincode String @db.VarChar(10)
1821
+ circlename String? @db.VarChar(100)
1822
+ regionname String? @db.VarChar(100)
1823
+ divisionname String? @db.VarChar(20)
1824
+ officename String? @db.VarChar(50)
1825
+ officetype String? @db.VarChar(20)
1826
+ delivery String? @db.VarChar(20)
1827
+ district String? @db.VarChar(20)
1828
+ statename String? @db.VarChar(20)
1829
+ latitude String? @db.VarChar(20)
1830
+ longitude String? @db.VarChar(20)
1831
+ type String? @db.VarChar(20)
1832
+ riskStatus String? @db.VarChar(20)
1833
+ riskEligibleFlag String? @db.VarChar(20)
1834
+ eligibleSince String? @db.VarChar(20)
1835
+ isActive Boolean @default(false)
1836
+ createdAt DateTime @default(now())
1837
+ updatedAt DateTime @updatedAt
1830
1838
 
1831
1839
  @@unique([pincode])
1832
- @@index([pincode, isActive, serviceable])
1840
+ @@index([pincode, isActive, district, statename])
1833
1841
  }
1834
1842
 
1835
1843
  /// The underlying table does not contain a valid unique identifier and can therefore currently not be handled by Prisma Client.