feat: refs #7006 itemTypeLog created #3093
|
@ -22,3 +22,6 @@ CREATE TABLE `vn`.`itemTypeLog` (
|
|||
KEY `itemTypeLog_creationDate_IDX` (`creationDate` DESC) USING BTREE,
|
||||
CONSTRAINT `itemTypeLogUserFk` FOREIGN KEY (`userFk`) REFERENCES `account`.`user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci `PAGE_COMPRESSED`=1;
|
||||
|
||||
INSERT IGNORE INTO salix.ACL (model,property,principalId)
|
||||
VALUES ('ItemTypeLog','*','employee');
|
||||
guillermo marked this conversation as resolved
Outdated
|
||||
|
|
|
@ -47,6 +47,9 @@
|
|||
"ItemType": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"ItemTypeLog": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"ItemTypeTag": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"base": "Log",
|
||||
"options": {
|
||||
"mysql": {
|
||||
"table": "ItemTypeLog"
|
||||
"table": "itemTypeLog"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Donali el concret, volem llevar tots els *
En esta pagina pots vore les equivalencies https://loopback.io/doc/en/lb2/Controlling-data-access.html
(esta baix de tot)