|
|
@ -131,6 +131,8 @@ model City {
|
|
|
|
stateId String
|
|
|
|
stateId String
|
|
|
|
state State @relation(fields: [stateId], references: [id])
|
|
|
|
state State @relation(fields: [stateId], references: [id])
|
|
|
|
questionsQuestionEncounters QuestionsQuestionEncounter[]
|
|
|
|
questionsQuestionEncounters QuestionsQuestionEncounter[]
|
|
|
|
|
|
|
|
OffersExperience OffersExperience[]
|
|
|
|
|
|
|
|
OffersOffer OffersOffer[]
|
|
|
|
|
|
|
|
|
|
|
|
@@unique([name, stateId])
|
|
|
|
@@unique([name, stateId])
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -265,7 +267,8 @@ model OffersExperience {
|
|
|
|
|
|
|
|
|
|
|
|
// Add more fields
|
|
|
|
// Add more fields
|
|
|
|
durationInMonths Int?
|
|
|
|
durationInMonths Int?
|
|
|
|
location String?
|
|
|
|
location City? @relation(fields: [cityId], references: [id])
|
|
|
|
|
|
|
|
cityId String?
|
|
|
|
|
|
|
|
|
|
|
|
// FULLTIME fields
|
|
|
|
// FULLTIME fields
|
|
|
|
level String?
|
|
|
|
level String?
|
|
|
@ -348,8 +351,9 @@ model OffersOffer {
|
|
|
|
company Company @relation(fields: [companyId], references: [id])
|
|
|
|
company Company @relation(fields: [companyId], references: [id])
|
|
|
|
companyId String
|
|
|
|
companyId String
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
location City @relation(fields: [cityId], references: [id])
|
|
|
|
|
|
|
|
cityId String
|
|
|
|
monthYearReceived DateTime
|
|
|
|
monthYearReceived DateTime
|
|
|
|
location String
|
|
|
|
|
|
|
|
negotiationStrategy String
|
|
|
|
negotiationStrategy String
|
|
|
|
comments String
|
|
|
|
comments String
|
|
|
|
|
|
|
|
|
|
|
|