@factor-wise/prisma-schema 1.0.5 → 1.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": "1.0.5",
3
+ "version": "1.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",
@@ -2159,7 +2159,7 @@ model lms_users {
2159
2159
 
2160
2160
  model lms_users_permissions {
2161
2161
  id BigInt @id @default(autoincrement()) @db.UnsignedBigInt
2162
- user_id BigInt @db.UnsignedBigInt
2162
+ user_id BigInt @unique @db.UnsignedBigInt
2163
2163
  sidebar_access Json?
2164
2164
  profile_access Json?
2165
2165
  created_at DateTime? @default(now()) @db.Timestamp(0)