title: How to ensureIndex in sails js
body: <p>I've written an application using sails.js framework.
  <a href="http://sailsjs.org/#!documentation" rel="nofollow">http://sailsjs.org/#!documentation</a>
  I cannot manage to run an ensureindex in the controller.
  What is the way to run an ensureIndex query in sails.js?</p>