Skip to content

Commit

Permalink
Minor schema tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nirmalhk7 committed Apr 3, 2022
1 parent a6d07b6 commit 9def4e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 0 additions & 4 deletions api/project-reports/models/project-reports.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
"body": {
"type": "richtext"
},
"project": {
"model": "project",
"via": "project_reports"
},
"excerpt": {
"type": "text",
"required": true,
Expand Down
7 changes: 3 additions & 4 deletions api/project/models/project.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"draftAndPublish": true
},
"attributes": {
"ongoing": {
"onDisplayForExpo": {
"type": "boolean",
"default": false,
"required": true
Expand All @@ -28,9 +28,8 @@
"authors": {
"collection": "members"
},
"project_reports": {
"via": "project",
"collection": "project-reports"
"project_report": {
"model": "project-reports"
},
"url": {
"type": "string"
Expand Down
3 changes: 2 additions & 1 deletion api/smp/models/smp.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"year": {
"type": "integer",
"required": true,
"default": 2021
"default": 2022,
"min": 2022
}
}
}

0 comments on commit 9def4e1

Please sign in to comment.