#5666 - Loggable to mixin #1826

Merged
alexm merged 29 commits from 5666-loggable_to_mixin into dev 2024-01-04 09:21:57 +00:00
3 changed files with 22 additions and 0 deletions
Showing only changes of commit 5dbfe31a60 - Show all commits

View File

@ -10,5 +10,11 @@
"eslint.format.enable": true,
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"cSpell.words": [
"Loggable"
],
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
}
}

View File

@ -142,6 +142,9 @@
"VnUser": {
"dataSource": "vn"
},
"VnRole": {
"dataSource": "vn"
},
"OsTicket": {
"dataSource": "osticket"
},

13
back/models/vn-role.json Normal file
View File

@ -0,0 +1,13 @@
{
"name": "VnRole",
"base": "Role",
"validateUpsert": true,
"options": {
"mysql": {
"table": "account.role"
}
},
"mixins": {
"RegisterLog": true
}
}
jsegarra marked this conversation as resolved
Review

A parte de crear el modelo habria que substituir todas las ocurrencias del modelo Role por VnRole

A parte de crear el modelo habria que substituir todas las ocurrencias del modelo Role por VnRole