feat: 🗃️ Link user & location to passenger
Tim Izzo tim@octree.ch
Tue, 25 Jan 2022 08:56:22 +0000
1 files changed,
9 insertions(+),
1 deletions(-)
M
backend/components/passenger/passenger.json
→
backend/components/passenger/passenger.json
@@ -2,7 +2,8 @@ {
"collectionName": "components_passenger_passengers", "info": { "name": "passenger", - "icon": "user" + "icon": "user", + "description": "" }, "options": {}, "attributes": {@@ -13,6 +14,13 @@ },
"email": { "type": "email", "required": false + }, + "location": { + "type": "string" + }, + "user": { + "plugin": "users-permissions", + "model": "user" } } }