Merge pull request 'refs #5134 feat: models' (!1783) from 5134-ModelsSalix into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1783
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Sergio De la torre 2023-10-13 15:09:33 +00:00
commit 85baac5c8e
4 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,3 @@
INSERT INTO `salix`.`ACL` ( model, property, accessType, permission, principalType, principalId)
VALUES('TicketCollection', '*', 'WRITE', 'ALLOW', 'ROLE', 'production');

View File

@ -47,6 +47,11 @@
"type": "belongsTo", "type": "belongsTo",
"model": "VnUser", "model": "VnUser",
"foreignKey": "userFk" "foreignKey": "userFk"
},
"shelving": {
"type": "belongsTo",
"model": "Shelving",
"foreignKey": "shelvingFk"
} }
} }
} }

View File

@ -10,6 +10,9 @@
"id": { "id": {
"id": true, "id": true,
"type": "number" "type": "number"
},
"usedShelves": {
"type": "number"
} }
}, },
"relations": { "relations": {

View File

@ -47,6 +47,9 @@
}, },
"locker": { "locker": {
"type" : "number" "type" : "number"
},
"isF11Allowed": {
"type" : "boolean"
} }
}, },
"relations": { "relations": {