salix/loopback/server/model-config.json

47 lines
927 B
JSON

{
"AccessToken": {
"dataSource": "vn",
"options": {
"mysql": {
"table": "salix.AccessToken"
}
},
"relations": {
"user": {
"type": "belongsTo",
"model": "user",
"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"
}
}
},
"user": {
"dataSource": "vn"
}
}