Commit Graph

9 Commits

Author SHA1 Message Date
Wyatt Johnson 4a9c1775f1 Updated linting rules + fixed test layout to standardize 2016-11-07 11:51:45 -07:00
gaba 141c114138 Get back the timestamps to the user model. 2016-11-04 13:20:58 -07:00
David Jay 8e9ebfb1a9 Adding find functions and tests to user and action models. 2016-11-03 17:45:37 -07:00
gaba 94ade6f6fe Renames to userProfile, change name to displayname. Changes objectid for uuid. 2016-11-02 13:44:16 -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