@dynamatix/gb-schemas 2.0.5 → 2.0.7
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/entities/applicants/applicant.entity.ts +2 -4
- package/entities/shared/apprivo-sync-journey.entity.ts +3 -3
- package/entities/shared/job-run.entity.ts +11 -4
- package/entities/shared/job-run.model.ts +10 -0
- package/package.json +1 -1
- package/prisma/migrations/20250501105546_apprivo_sync_journey_update/migration.sql +9 -0
- package/prisma/migrations/20250501105850_job_run_update/migration.sql +13 -0
- package/prisma/schema.prisma +1150 -1144
- package/prisma/shared/apprivo-sync-journey.prisma +1 -1
- package/prisma/shared/job-run.prisma +8 -7
|
@@ -4,7 +4,7 @@ model ApprivoSyncJourney {
|
|
|
4
4
|
milestoneLid String? @map("milestone_lid")
|
|
5
5
|
mileStoneStatus String @map("milestone_status")
|
|
6
6
|
error String?
|
|
7
|
-
isFirstPull
|
|
7
|
+
isFirstPull Boolean @map("is_first_pull")
|
|
8
8
|
jobRunId String? @map("job_run_id")
|
|
9
9
|
startTime DateTime? @map("start_time")
|
|
10
10
|
endTime DateTime? @map("end_time")
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
model JobRun {
|
|
2
|
-
id
|
|
3
|
-
jobName
|
|
4
|
-
status
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
jobName String @map("job_name")
|
|
4
|
+
status String @map("status")
|
|
5
|
+
error String?
|
|
6
|
+
startTime DateTime? @map("start_time")
|
|
7
|
+
endTime DateTime? @map("end_time")
|
|
8
|
+
createdAt DateTime @default(now()) @map("created_at")
|
|
9
|
+
updatedAt DateTime @updatedAt @map("updated_at")
|
|
9
10
|
|
|
10
11
|
// Relations
|
|
11
12
|
apprivoSyncJourneys ApprivoSyncJourney[] @relation("Milestones")
|