@adaptware/eagles-db 0.1.61 → 0.1.67

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.
@@ -17,29 +17,31 @@ model Organisation {
17
17
  address String
18
18
  company_values Json[]
19
19
 
20
- interviewers User[]
21
- created_at DateTime @default(now())
22
- updated_at DateTime @updatedAt
23
- created_by String
24
- updated_by String
25
- is_active Boolean @default(true)
26
- alias String? @unique
27
- logo String?
28
- applications Application[]
29
- user_roles UserRole[]
30
- job_descriptions JobDescription[]
31
- assessment_library AssessmentLibrary[]
32
- assignment_library AssignmentLibrary[]
33
- interviews Interview[]
34
- assignments Assignment[]
35
- fit_check FitCheck[] // one-to-many link
36
- resumes Resume[] // one-to-many link
37
- approvals Approval[] // one-to-many link
38
- suggestions Suggestion[]
39
- ongoing_evaluations OngoingEvaluation[] // optional one-to-many
40
- actions Action[]
41
- integration_credentials IntegrationCredential[]
42
- zoho_sync_mappings ZohoSyncMapping[]
20
+ interviewers User[]
21
+ created_at DateTime @default(now())
22
+ updated_at DateTime @updatedAt
23
+ created_by String
24
+ updated_by String
25
+ is_active Boolean @default(true)
26
+ alias String? @unique
27
+ logo String?
28
+ applications Application[]
29
+ user_roles UserRole[]
30
+ job_descriptions JobDescription[]
31
+ job_profiles JobProfile[]
32
+ assessment_library AssessmentLibrary[]
33
+ assignment_library AssignmentLibrary[]
34
+ interviews Interview[]
35
+ assignments Assignment[]
36
+ fit_check FitCheck[] // one-to-many link
37
+ resumes Resume[] // one-to-many link
38
+ approvals Approval[] // one-to-many link
39
+ suggestions Suggestion[]
40
+ ongoing_evaluations OngoingEvaluation[] // optional one-to-many
41
+ actions Action[]
42
+ integration_credentials IntegrationCredential[]
43
+ zoho_sync_mappings ZohoSyncMapping[]
44
+ assessments Assessment[]
43
45
 
44
46
  @@index([name])
45
47
  }
@@ -49,6 +49,8 @@ model User {
49
49
  calendly Calendly?
50
50
  google Google?
51
51
  fitChecks FitCheck[]
52
+ created_job_profiles JobProfile[] @relation("ProfileCreator")
53
+ assigned_job_profiles JobProfile[] @relation("ProfileAssignee")
52
54
 
53
55
  name String?
54
56
  phone String?