salix/loopback/server/model-config.json

62 lines
1.2 KiB
JSON

{
"AccessToken": {
"dataSource": "vn",
"options": {
"mysql": {
"table": "salix.AccessToken"
}
},
"relations": {
"user": {
"type": "belongsTo",
"model": "VnUser",
"foreignKey": "userId"
}
}
},
"ACL": {
"dataSource": "vn",
"options": {
"mysql": {
"table": "salix.ACL"
}
}
},
"FieldAcl": {
"dataSource": "vn"
},
"Role": {
"dataSource": "vn",
"options": {
"mysql": {
"table": "salix.Role"
}
}
},
"RoleMapping": {
"dataSource": "vn",
"options": {
"mysql": {
"table": "salix.RoleMapping"
}
}
},
"Schema": {
"dataSource": "vn"
},
"Application": {
"dataSource": "vn"
},
"Container": {
"dataSource": "vn"
},
"ProcsPriv": {
"dataSource": "vn",
"options": {
"mysql": {
"table": "mysql.procs_priv"
}
}
}
}