fix roleUser and roleTeam relations
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
"teams": {
|
||||
"type": "hasMany",
|
||||
"entity": "Team",
|
||||
"relationName": "EntityTeam"
|
||||
"foreign": "roles"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
|
||||
@@ -11,11 +11,13 @@
|
||||
"links": {
|
||||
"users": {
|
||||
"type": "hasMany",
|
||||
"entity": "User"
|
||||
"entity": "User",
|
||||
"foreign": "teams"
|
||||
},
|
||||
"roles": {
|
||||
"type": "hasMany",
|
||||
"entity": "Role"
|
||||
"entity": "Role",
|
||||
"foreign": "teams"
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
|
||||
Reference in New Issue
Block a user