fix: refs #4774 model backs

This commit is contained in:
Carlos Satorres 2024-10-18 07:55:37 +02:00
parent cb7575d821
commit 26e5146664
3 changed files with 29 additions and 1 deletions

View File

@ -210,5 +210,8 @@
},
"MrwService": {
"dataSource": "vn"
},
"CompanyI18n": {
"dataSource": "vn"
}
}
}

View File

@ -0,0 +1,22 @@
{
"name": "CompanyI18n",
"base": "VnModel",
"options": {
"mysql": {
"table": "companyI18n"
}
},
"properties": {
"companyFk": {
"type": "number",
"id": 1
},
"lang": {
"type": "string",
"id": 2
},
"footnotes": {
"type": "string"
}
}
}

View File

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