bigbluebutton-Github/bigbluebutton-html5/imports/api/presentations/index.js

14 lines
302 B
JavaScript
Raw Normal View History

2017-10-12 08:40:51 +08:00
import { Meteor } from 'meteor/meteor';
const Presentations = new Mongo.Collection('presentations2x');
if (Meteor.isServer) {
// types of queries for the presentations:
// 1. meetingId, id
// 2. meetingId
Presentations._ensureIndex({ meetingId: 1, id: 1 });
}
export default Presentations;