refs #7529 back models acls #2563
|
@ -4007,4 +4007,10 @@ INSERT IGNORE INTO pbx.queueMember
|
||||||
UPDATE vn.department SET pbxQueue = '1000' WHERE name = "CAMARA";
|
UPDATE vn.department SET pbxQueue = '1000' WHERE name = "CAMARA";
|
||||||
UPDATE vn.department SET pbxQueue = '2000' WHERE name = "VENTAS";
|
UPDATE vn.department SET pbxQueue = '2000' WHERE name = "VENTAS";
|
||||||
|
|
||||||
|
INSERT INTO vn.workerRelatives (workerFk, isDescendant, disabilityGradeFk, birthed, adoptionYear, isDependend, isJointCustody, updated)
|
||||||
|
VALUES
|
||||||
|
(1106, 1, NULL, 0, NULL, 0, 0, '2024-10-29 08:42:44.000');
|
||||||
|
|
||||||
|
INSERT INTO vn.workerIrpf (workerFk,spouseNif,geographicMobilityDate)
|
||||||
|
VALUES
|
||||||
|
(1106,'26493101E','2019-09-20');
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"workerFk": {
|
"workerFk": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"id": true,
|
"id": 1,
|
||||||
"description": "Identifier"
|
"description": "Identifier"
|
||||||
},
|
},
|
||||||
"spouseNif": {
|
"spouseNif": {
|
||||||
|
@ -50,11 +50,6 @@
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "disabilityGrade",
|
"model": "disabilityGrade",
|
||||||
"foreignKey": "disabilityGradeFk"
|
"foreignKey": "disabilityGradeFk"
|
||||||
},
|
|
||||||
"worker": {
|
|
||||||
"type": "belongsTo",
|
|
||||||
"model": "VnUser",
|
|
||||||
"foreignKey": "workerFK"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue