@factor-wise/prisma-schema 2.0.38 → 2.0.40
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 +9 -6
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -650,6 +650,7 @@ model customer {
|
|
|
650
650
|
marrital String? @db.VarChar(10)
|
|
651
651
|
profile String? @db.VarChar(100)
|
|
652
652
|
otp String? @default("") @db.VarChar(20)
|
|
653
|
+
refreshToken String? @db.VarChar(100)
|
|
653
654
|
isVerified Boolean @default(dbgenerated("b'0'")) @db.Bit(1)
|
|
654
655
|
employeeType customer_employeeType?
|
|
655
656
|
createdDate DateTime @default(now()) @db.DateTime(0)
|
|
@@ -2362,12 +2363,14 @@ model lms_users {
|
|
|
2362
2363
|
}
|
|
2363
2364
|
|
|
2364
2365
|
model lms_users_permissions {
|
|
2365
|
-
id
|
|
2366
|
-
user_id
|
|
2367
|
-
sidebar_access
|
|
2368
|
-
profile_access
|
|
2369
|
-
|
|
2370
|
-
|
|
2366
|
+
id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
|
|
2367
|
+
user_id Int @unique
|
|
2368
|
+
sidebar_access Json?
|
|
2369
|
+
profile_access Json?
|
|
2370
|
+
users_permissions Json?
|
|
2371
|
+
reports_sidebar Json?
|
|
2372
|
+
reports_access Json?
|
|
2373
|
+
|
|
2371
2374
|
created_at DateTime? @default(now()) @db.Timestamp(0)
|
|
2372
2375
|
updated_at DateTime? @default(now()) @db.Timestamp(0)
|
|
2373
2376
|
lms_users lms_users @relation(fields: [user_id], references: [userID], onDelete: Cascade, onUpdate: NoAction, map: "lms_users_permissions_ibfk_1")
|