all repos — caroster @ c7aa8445d4799c59a354b7cbb1a74c0a8f28381d

[Octree] Group carpool to your event https://caroster.io

feat: 🗃️ Link user & location to passenger
Tim Izzo tim@octree.ch
Tue, 25 Jan 2022 08:56:22 +0000
commit

c7aa8445d4799c59a354b7cbb1a74c0a8f28381d

parent

bbbbaed51e53051ba88c00836fe40ad450c6549c

1 files changed, 9 insertions(+), 1 deletions(-)

jump to
M backend/components/passenger/passenger.jsonbackend/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" } } }