@factor-wise/prisma-schema 2.0.33 → 2.0.35

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.33",
3
+ "version": "2.0.35",
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",
@@ -2360,10 +2360,12 @@ model lms_users {
2360
2360
  }
2361
2361
 
2362
2362
  model lms_users_permissions {
2363
- id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
2364
- user_id Int @unique
2365
- sidebar_access Json?
2366
- profile_access Json?
2363
+ id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
2364
+ user_id Int @unique
2365
+ sidebar_access Json?
2366
+ profile_access Json?
2367
+ reports_sidebar Json?
2368
+ reports_access Json?
2367
2369
  created_at DateTime? @default(now()) @db.Timestamp(0)
2368
2370
  updated_at DateTime? @default(now()) @db.Timestamp(0)
2369
2371
  lms_users lms_users @relation(fields: [user_id], references: [userID], onDelete: Cascade, onUpdate: NoAction, map: "lms_users_permissions_ibfk_1")
@@ -2461,7 +2463,7 @@ model cibil_fetch_logs {
2461
2463
  status String @default("PENDING")
2462
2464
  error_message String?
2463
2465
  createdAt DateTime @default(now())
2464
- updatedAt DateTime @default(now())
2466
+ updatedAt DateTime @updatedAt
2465
2467
 
2466
2468
 
2467
2469
  @@index([leadID])