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": { "hasDiploma": {
"type" : "boolean" "type" : "boolean"
} }
}, },
"relations": { "relations": {
"worker": { "worker": {
@ -55,12 +54,12 @@
}, },
"trainingCourseType": { "trainingCourseType": {
"type": "belongsTo", "type": "belongsTo",
"model": "trainingCourseType", "model": "TrainingCourseType",
"foreignKey": "trainingCourseTypeFk" "foreignKey": "trainingCourseTypeFk"
}, },
"centerFk": { "trainingCenter": {
"type": "belongsTo", "type": "belongsTo",
"model": "Center", "model": "TrainingCenter",
"foreignKey": "centerFk" "foreignKey": "centerFk"
} }
} }

View File

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