fix: type relation in models
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-02-06 14:32:54 +01:00
parent 499c9fa706
commit 2e8aabab14
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
}, },
"relations": { "relations": {
"saleGroup": { "saleGroup": {
"type": "hasOne", "type": "hasMany",
"model": "saleGroup", "model": "saleGroup",
"foreignKey": "parkingFk" "foreignKey": "parkingFk"
} }

View File

@ -18,7 +18,7 @@
}, },
"relations": { "relations": {
"saleGroupDetail": { "saleGroupDetail": {
"type": "hasOne", "type": "hasMany",
"model": "SaleGroupDetail", "model": "SaleGroupDetail",
"foreignKey": "saleGroupFk" "foreignKey": "saleGroupFk"
}, },