@danielcok17/prisma-db 1.20.21 → 1.20.22

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": "@danielcok17/prisma-db",
3
- "version": "1.20.21",
3
+ "version": "1.20.22",
4
4
  "description": "Shared Prisma schema for Legal AI applications",
5
5
  "repository": {
6
6
  "type": "git",
package/prisma/app.prisma CHANGED
@@ -90,8 +90,9 @@ model User {
90
90
  phoneVerified DateTime? // Kedy bol telefón overený cez OTP
91
91
  occupation String? // Povolanie (Právnik, Účtovník, etc.)
92
92
  isicVerified Boolean @default(false) // Overený ISIC/ITIC/EURO<26 preukaz
93
- isicJscp String? // JSČP číslo overeného preukazu
93
+ isicJscp String? @unique // JSČP číslo overeného preukazu
94
94
  isicVerifiedAt DateTime? // Kedy bol preukaz overený
95
+ isicValidUntil DateTime? // Dátum platnosti preukazu (z ISIC API)
95
96
  preferredLanguage String? @default("sk") // Jazyk odpovedi (sk, cs, en)
96
97
  // Email Lifecycle — 360° user view
97
98
  lastActiveAt DateTime?