@adaptware/eagles-db 0.4.28 → 0.4.29

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": "@adaptware/eagles-db",
3
- "version": "0.4.28",
3
+ "version": "0.4.29",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,7 +40,7 @@ model JobDescription {
40
40
  job_profile_id String?
41
41
  job_profile JobProfile? @relation(fields: [job_profile_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
42
42
  organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
43
- source_document Document? @relation(fields: [source_document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
43
+ source_document Document? @relation("SourceDocument", fields: [source_document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
44
44
  applications Application[]
45
45
  interviews Interview[]
46
46
  assignments Assignment[]
@@ -59,7 +59,6 @@ model JobDescription {
59
59
  job_application_template JobApplicationTemplate?
60
60
  conversations Conversation[]
61
61
  communication_messages CommunicationMessage[]
62
- documents Document[]
63
62
 
64
63
  @@index([organisation_id])
65
64
  @@index([hiring_manager_id])