set up orders model and relationships

This commit is contained in:
2017-01-26 17:50:56 -07:00
parent a41c7428b9
commit ea5de580a8
8 changed files with 116 additions and 4 deletions

View File

@@ -28,7 +28,14 @@
}
},
"validations": [],
"relations": {},
"relations": {
"orders": {
"type": "hasMany",
"model": "order",
"foreignKey": "",
"through": "orderProducts"
}
},
"acls": [],
"methods": {}
}