Updated project definition

This commit is contained in:
James Purser 2022-06-20 15:25:41 +10:00
parent cd9c2d65c5
commit 64b19b9c55
3 changed files with 3792 additions and 765 deletions

View file

@ -46,6 +46,12 @@
"Slug": {
"type": "uid",
"targetField": "Title"
},
"project": {
"type": "relation",
"relation": "manyToOne",
"target": "api::project.project",
"inversedBy": "articles"
}
}
}

View file

@ -37,6 +37,12 @@
"Slug": {
"type": "uid",
"targetField": "Title"
},
"articles": {
"type": "relation",
"relation": "oneToMany",
"target": "api::article.article",
"mappedBy": "project"
}
}
}