Skip to content

Commit

Permalink
Added location members / groups many-to-many relation
Browse files Browse the repository at this point in the history
  • Loading branch information
agnessa committed Oct 10, 2023
1 parent 4521c9e commit 4b786a9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 554 deletions.
12 changes: 12 additions & 0 deletions cms/src/api/location/content-types/location/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
"type": {
"type": "string",
"required": true
},
"groups": {
"type": "relation",
"relation": "manyToMany",
"target": "api::location.location",
"inversedBy": "members"
},
"members": {
"type": "relation",
"relation": "manyToMany",
"target": "api::location.location",
"inversedBy": "groups"
}
}
}

This file was deleted.

7 changes: 0 additions & 7 deletions cms/src/api/region-location/controllers/region-location.ts

This file was deleted.

Loading

0 comments on commit 4b786a9

Please sign in to comment.