We've added the following compound indexes through the mlab UI. We need to use .index on the mongoose schemas (https://mongoosejs.com/docs/guide.html#indexes) to add these in programmatically.
This way, if we run this code with another database backend, the indexes will be created automatically.
