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

13 lines
246 B
JavaScript
Raw Normal View History

2017-10-12 06:17:42 +08:00
import { Meteor } from 'meteor/meteor';
const Meetings = new Mongo.Collection('meetings');
2017-10-12 06:17:42 +08:00
if (Meteor.isServer) {
// types of queries for the meetings:
// 1. meetingId
Meetings._ensureIndex({ meetingId: 1 });
}
export default Meetings;