- Added some school methods but will need to refactor the model calls

This commit is contained in:
Alexis
2020-06-06 23:35:11 +02:00
parent 3dbb95ab4d
commit ce9018f65e
6 changed files with 309 additions and 228 deletions

View File

@@ -4,9 +4,9 @@ const School = {
"properties": {
"name": { "type": "string" },
"description": { "type": "string" },
"id_meta_school": { "type": "number" },
"meta_school_id": { "type": "number" },
},
"required": ["name", "description", "id_meta_school"]
"required": ["name", "description", "meta_school_id"]
}
module.exports = School