@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 +1 -1
- package/prisma/schema.prisma +20 -12
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -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
|
|
1820
|
-
pincode
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
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,
|
|
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.
|