fix: type relation in models
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
499c9fa706
commit
2e8aabab14
|
@ -32,7 +32,7 @@
|
||||||
},
|
},
|
||||||
"relations": {
|
"relations": {
|
||||||
"saleGroup": {
|
"saleGroup": {
|
||||||
"type": "hasOne",
|
"type": "hasMany",
|
||||||
"model": "saleGroup",
|
"model": "saleGroup",
|
||||||
"foreignKey": "parkingFk"
|
"foreignKey": "parkingFk"
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
},
|
},
|
||||||
"relations": {
|
"relations": {
|
||||||
"saleGroupDetail": {
|
"saleGroupDetail": {
|
||||||
"type": "hasOne",
|
"type": "hasMany",
|
||||||
"model": "SaleGroupDetail",
|
"model": "SaleGroupDetail",
|
||||||
"foreignKey": "saleGroupFk"
|
"foreignKey": "saleGroupFk"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue