@factor-wise/prisma-schema 2.0.4 → 2.0.6

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.4",
3
+ "version": "2.0.6",
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",
@@ -1739,16 +1739,16 @@ model reference {
1739
1739
  customerID Int
1740
1740
  relation String
1741
1741
  name String
1742
- address String
1743
- city String
1744
- state String
1745
- pincode BigInt
1742
+ address String?
1743
+ city String?
1744
+ state String?
1745
+ pincode BigInt?
1746
1746
  contactNo String @db.VarChar(20)
1747
1747
  createdBy Int @default(1)
1748
1748
  createdDate DateTime? @default(now()) @db.DateTime(0)
1749
1749
  name_contact String? @db.Text
1750
1750
  reference_verify Int @default(0)
1751
- is_verified Int @default(0)
1751
+ is_verified Boolean @default(dbgenerated("b'0'")) @db.Bit(1)
1752
1752
  recording String? @db.Text
1753
1753
  createdByUser lms_users @relation(fields: [createdBy], references: [userID])
1754
1754
  customer customer @relation(fields: [customerID], references: [customerID])