fix: réparer la relation commentaire.parole / parole.commentaires
This commit is contained in:
@@ -27,8 +27,9 @@
|
||||
},
|
||||
"parole": {
|
||||
"type": "relation",
|
||||
"relation": "oneToOne",
|
||||
"target": "api::parole.parole"
|
||||
"relation": "manyToOne",
|
||||
"target": "api::parole.parole",
|
||||
"inversedBy": "commentaires"
|
||||
},
|
||||
"origine": {
|
||||
"type": "enumeration",
|
||||
|
||||
@@ -82,7 +82,8 @@
|
||||
"commentaires": {
|
||||
"type": "relation",
|
||||
"relation": "oneToMany",
|
||||
"target": "api::commentaire.commentaire"
|
||||
"target": "api::commentaire.commentaire",
|
||||
"mappedBy": "parole"
|
||||
},
|
||||
"prioriteArtistes": {
|
||||
"type": "string"
|
||||
|
||||
Reference in New Issue
Block a user