kb portals

This commit is contained in:
yuri
2016-02-11 12:29:12 +02:00
parent 79a29531e9
commit db49af84f4
10 changed files with 57 additions and 7 deletions
@@ -19,6 +19,9 @@
"type": "enum",
"options": ["Article"]
},
"portals": {
"type": "linkMultiple"
},
"publishDate": {
"type": "date"
},
@@ -68,6 +71,11 @@
"entity": "Case",
"foreign": "articles"
},
"portals": {
"type": "hasMany",
"entity": "Portal",
"foreign": "articles"
},
"createdBy": {
"type": "belongsTo",
"entity": "User"