@factor-wise/prisma-schema 2.0.27 → 2.0.29

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.27",
3
+ "version": "2.0.29",
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",
@@ -690,6 +690,8 @@ model customer {
690
690
  leads leads[]
691
691
  reference reference[]
692
692
  reloan_status reloan_status[]
693
+ reminders reminders[]
694
+
693
695
 
694
696
  @@index([firstName], map: "firstName")
695
697
  @@index([firstName], map: "firstName_2")
@@ -949,7 +951,7 @@ model reminders {
949
951
  channel reminders_channel
950
952
  message String @db.Text
951
953
  sentAt DateTime @default(now()) @db.DateTime(0)
952
- customerapp customerapp @relation(fields: [customerID], references: [customerID], onDelete: Cascade, map: "fk_customer_reminder")
954
+ customer customer @relation(fields: [customerID], references: [customerID], onDelete: Cascade, map: "fk_customer_reminder")
953
955
 
954
956
  @@index([customerID, type], map: "idx_customer_type")
955
957
  @@index([sentAt], map: "idx_sentAt")
@@ -2189,7 +2191,6 @@ model customerapp {
2189
2191
  customeraccount customeraccount[]
2190
2192
  document document[]
2191
2193
  employer employer[]
2192
- reminders reminders[]
2193
2194
 
2194
2195
  @@index([mobile], map: "mobile")
2195
2196
  @@index([last_login], map: "idx_customer_lastLogin")
@@ -2331,6 +2332,7 @@ model lms_users {
2331
2332
  password String @db.VarChar(255)
2332
2333
  role String? @db.VarChar(50)
2333
2334
  status String? @default("Active") @db.VarChar(20)
2335
+ session_id String? @db.VarChar(255)
2334
2336
  created_by String? @db.VarChar(100)
2335
2337
  created_at DateTime? @default(now()) @db.Timestamp(0)
2336
2338
  updated_at DateTime? @default(now()) @db.Timestamp(0)