Contents only have one folder now
This commit is contained in:
parent
81584f6ff7
commit
120e162b36
|
@ -53,11 +53,11 @@
|
||||||
"target": "api::chronicle.chronicle",
|
"target": "api::chronicle.chronicle",
|
||||||
"mappedBy": "contents"
|
"mappedBy": "contents"
|
||||||
},
|
},
|
||||||
"folders": {
|
"folder": {
|
||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "manyToMany",
|
"relation": "manyToOne",
|
||||||
"target": "api::contents-folder.contents-folder",
|
"target": "api::contents-folder.contents-folder",
|
||||||
"mappedBy": "contents"
|
"inversedBy": "contents"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,9 +38,9 @@
|
||||||
},
|
},
|
||||||
"contents": {
|
"contents": {
|
||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "manyToMany",
|
"relation": "oneToMany",
|
||||||
"target": "api::content.content",
|
"target": "api::content.content",
|
||||||
"inversedBy": "folders"
|
"mappedBy": "folder"
|
||||||
},
|
},
|
||||||
"sequence": {
|
"sequence": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|
Loading…
Reference in New Issue