These are chat archives for Automattic/mongoose

Mar 2016
Daniel Acuña
Mar 03 2016 02:32
@uptownhr most likely that, no errors anywhere at all. turned out to be my local mongo db, which didn't seem to want to cooperate with mongoose, unsure why. super weird, considering I could connect to it with other clients.
Alvaro Almendros Gala
Mar 03 2016 12:55


role: {
   type: String,
   enum: ['admin', 'manager', 'user']

Imho, this kind of list its better to load it from a global var. If you need to know how to do it, just ask ;)

Mar 03 2016 16:17