feat: refs #7193 added scope in parking model
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jon Elias 2024-10-28 10:40:43 +01:00
parent 8569bec34a
commit eb5f57285a
1 changed files with 8 additions and 0 deletions

View File

@ -38,5 +38,13 @@
"model": "Sector", "model": "Sector",
"foreignKey": "sectorFk" "foreignKey": "sectorFk"
} }
},
"scope": {
"include": {
"relation": "sector",
"scope": {
"fields": ["id", "description"]
}
}
} }
} }