Updated project definition
This commit is contained in:
parent
cd9c2d65c5
commit
64b19b9c55
3 changed files with 3792 additions and 765 deletions
|
|
@ -46,6 +46,12 @@
|
|||
"Slug": {
|
||||
"type": "uid",
|
||||
"targetField": "Title"
|
||||
},
|
||||
"project": {
|
||||
"type": "relation",
|
||||
"relation": "manyToOne",
|
||||
"target": "api::project.project",
|
||||
"inversedBy": "articles"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,12 @@
|
|||
"Slug": {
|
||||
"type": "uid",
|
||||
"targetField": "Title"
|
||||
},
|
||||
"articles": {
|
||||
"type": "relation",
|
||||
"relation": "oneToMany",
|
||||
"target": "api::article.article",
|
||||
"mappedBy": "project"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue