fix: refs #7187 model foreignKey
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Pablo Natek 2024-05-16 14:04:21 +02:00
parent 4cf5457690
commit b299e842b9
1 changed files with 3 additions and 3 deletions

View File

@ -34,9 +34,9 @@
},
"relations": {
"deviceProduction": {
"type": "hasOne",
"model": "DeviceProduction",
"foreignKey": "id"
"type": "belongsTo",
"model": "DeviceProduction",
"foreignKey": "deviceProductionFk"
},
"user": {
"type": "belongsTo",