refs #7406 fix back
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2024-05-28 12:22:11 +02:00
parent eb2dd5ba5b
commit b95009899c
2 changed files with 3 additions and 22 deletions

View File

@ -45,7 +45,6 @@
"hasDiploma": {
"type" : "boolean"
}
},
"relations": {
"worker": {
@ -55,12 +54,12 @@
},
"trainingCourseType": {
"type": "belongsTo",
"model": "trainingCourseType",
"model": "TrainingCourseType",
"foreignKey": "trainingCourseTypeFk"
},
"centerFk": {
"trainingCenter": {
"type": "belongsTo",
"model": "Center",
"model": "TrainingCenter",
"foreignKey": "centerFk"
}
}

View File

@ -17,23 +17,5 @@
"type": "string",
"required": true
}
},
"relations": {
"worker": {
"type": "belongsTo",
"model": "Worker",
"foreignKey": "workerFk"
},
"trainingCourseType": {
"type": "belongsTo",
"model": "TrainingCourseType",
"foreignKey": "trainingCourseTypeFk"
},
"centerFk": {
"type": "belongsTo",
"model": "Center",
"foreignKey": "centerFk"
}
}
}