Commit Graph

360 Commits

Author SHA1 Message Date
gaba 321a5bb49a statics instead of method. 2016-11-02 13:53:21 -07:00
gaba 94ade6f6fe Renames to userProfile, change name to displayname. Changes objectid for uuid. 2016-11-02 13:44:16 -07:00
gaba 0b4dcbdffb Moves from ObjectId to uuid. changes status to remove 'untouched'. Using blank instead. 2016-11-02 13:43:38 -07:00
gaba 1a2cb1d8eb Add action model. 2016-11-02 13:43:08 -07:00
gaba f839ac6342 Rename comments to comment. 2016-11-02 11:21:35 -07:00
gaba 85b7096cec Adds one method. 2016-11-02 09:21:05 -07:00
gaba 0c9b80617c Change to access the foreign keys by ref.
http://mongoosejs.com/docs/populate.html
2016-11-01 14:41:24 -07:00
gaba c56eba1226 * Adds identifier and hide _id.
* Gets only the user for subdocuments and not the whole document.
2016-11-01 14:29:06 -07:00
gaba 4ec6da6ed7 Use mongoose that already is in the repo. It changes var to const. 2016-11-01 13:50:04 -07:00
gaba d80b3bc27f Adding a draft for models. 2016-11-01 13:35:09 -07:00