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