adding sails-mongoose as a adapter in defaults.js
modifying the configurations for sails mongoose