@hirelink/database-prisma 1.0.1 → 1.0.3
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 +2 -2
- package/prisma/schema.prisma +8 -9
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hirelink/database-prisma",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.3",
|
4
4
|
"description": "A Prisma-based database package for Hirelink applications.",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -25,4 +25,4 @@
|
|
25
25
|
"devDependencies": {
|
26
26
|
"prisma": "^6.3.1"
|
27
27
|
}
|
28
|
-
}
|
28
|
+
}
|
package/prisma/schema.prisma
CHANGED
@@ -8,15 +8,14 @@ datasource db {
|
|
8
8
|
}
|
9
9
|
|
10
10
|
model User {
|
11
|
-
id
|
12
|
-
email
|
13
|
-
first_name
|
14
|
-
last_name
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
updated_at DateTime? @updatedAt
|
11
|
+
id String @id
|
12
|
+
email String @unique
|
13
|
+
first_name String?
|
14
|
+
last_name String?
|
15
|
+
role Role
|
16
|
+
status UserStatus @default(active)
|
17
|
+
created_at DateTime? @default(now())
|
18
|
+
updated_at DateTime? @updatedAt
|
20
19
|
|
21
20
|
hr_users HrUser[]
|
22
21
|
onboarding_details OnboardingDetail[]
|