Commit 3c16b295 by jaymehta

remodelling

1 parent 8f81df24
......@@ -29,6 +29,12 @@
"relation": "oneToOne",
"target": "plugin::users-permissions.user",
"inversedBy": "endUser"
},
"enquires": {
"type": "relation",
"relation": "oneToMany",
"target": "api::enquiry.enquiry",
"mappedBy": "end_user"
}
}
}
......@@ -14,14 +14,15 @@
"attributes": {
"experience": {
"type": "relation",
"relation": "oneToOne",
"relation": "manyToOne",
"target": "api::experience.experience",
"inversedBy": "enquiries"
},
"end_user": {
"type": "relation",
"relation": "oneToOne",
"target": "api::end-user.end-user"
"relation": "manyToOne",
"target": "api::end-user.end-user",
"inversedBy": "enquires"
},
"status": {
"type": "enumeration",
......
......@@ -151,7 +151,7 @@
},
"enquiries": {
"type": "relation",
"relation": "oneToOne",
"relation": "oneToMany",
"target": "api::enquiry.enquiry",
"mappedBy": "experience"
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!