@dynamatix/gb-schemas 2.0.16 → 2.0.17
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
|
@@ -93,9 +93,9 @@ model Applicant {
|
|
|
93
93
|
updatedAt DateTime @updatedAt @map("updated_at")
|
|
94
94
|
|
|
95
95
|
// Relations
|
|
96
|
-
application
|
|
97
|
-
addressCountry
|
|
98
|
-
correspondenceAddressCountry
|
|
96
|
+
application Application? @relation("ApplicationApplicants", fields: [applicationId], references: [id])
|
|
97
|
+
addressCountry Lookup? @relation("AddressCountry", fields: [addressCountryLid], references: [id])
|
|
98
|
+
correspondenceAddressCountry Lookup? @relation("CorrespondenceAddressCountry", fields: [correspondenceAddressCountryLid], references: [id])
|
|
99
99
|
countryOfResidence Lookup @relation("CountryOfResidence", fields: [countryOfResidenceLid], references: [id])
|
|
100
100
|
class Lookup? @relation("Class", fields: [classLid], references: [id])
|
|
101
101
|
linkedJurisdictionCountry Lookup? @relation("LinkedJurisdictionCountry", fields: [linkedJurisdictionCountryLid], references: [id])
|
package/prisma/schema.prisma
CHANGED
|
@@ -859,9 +859,9 @@ model Applicant {
|
|
|
859
859
|
updatedAt DateTime @updatedAt @map("updated_at")
|
|
860
860
|
|
|
861
861
|
// Relations
|
|
862
|
-
application
|
|
863
|
-
addressCountry
|
|
864
|
-
correspondenceAddressCountry
|
|
862
|
+
application Application? @relation("ApplicationApplicants", fields: [applicationId], references: [id])
|
|
863
|
+
addressCountry Lookup? @relation("AddressCountry", fields: [addressCountryLid], references: [id])
|
|
864
|
+
correspondenceAddressCountry Lookup? @relation("CorrespondenceAddressCountry", fields: [correspondenceAddressCountryLid], references: [id])
|
|
865
865
|
countryOfResidence Lookup @relation("CountryOfResidence", fields: [countryOfResidenceLid], references: [id])
|
|
866
866
|
class Lookup? @relation("Class", fields: [classLid], references: [id])
|
|
867
867
|
linkedJurisdictionCountry Lookup? @relation("LinkedJurisdictionCountry", fields: [linkedJurisdictionCountryLid], references: [id])
|