Commit 4bc23d2c by jaymehta

.

1 parent 972068a1
...@@ -27,12 +27,6 @@ ...@@ -27,12 +27,6 @@
"phoneNumber": { "phoneNumber": {
"type": "string" "type": "string"
}, },
"subCategory": {
"type": "relation",
"relation": "oneToOne",
"target": "api::sub-categorie.sub-categorie",
"inversedBy": "experience"
},
"link": { "link": {
"type": "string" "type": "string"
}, },
...@@ -160,6 +154,12 @@ ...@@ -160,6 +154,12 @@
"relation": "oneToMany", "relation": "oneToMany",
"target": "api::wishlist.wishlist", "target": "api::wishlist.wishlist",
"mappedBy": "experience" "mappedBy": "experience"
},
"subCategory": {
"type": "relation",
"relation": "manyToOne",
"target": "api::sub-categorie.sub-categorie",
"inversedBy": "experience"
} }
} }
} }
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
}, },
"experience": { "experience": {
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToMany",
"target": "api::experience.experience", "target": "api::experience.experience",
"mappedBy": "subCategory" "mappedBy": "subCategory"
} }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!