bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/index.js
2019-08-21 15:57:34 -03:00

15 lines
385 B
JavaScript

import { Meteor } from 'meteor/meteor';
const Meetings = new Mongo.Collection('meetings');
const RecordMeetings = new Mongo.Collection('record-meetings');
if (Meteor.isServer) {
// types of queries for the meetings:
// 1. meetingId
Meetings._ensureIndex({ meetingId: 1 });
RecordMeetings._ensureIndex({ meetingId: 1 });
}
export { RecordMeetings };
export default Meetings;