allow indexes on mongodb

var repository = require('viewmodel').read
  , _ = require('lodash');

module.exports = repository.extend({

  collectionName: 'contact',
  indexes: [
    {profileId: 1},
    // or:
    { index: {profileId: 1}, options: {} }
  ],