bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts-history/index.js
2021-11-19 16:34:37 -03:00

14 lines
314 B
JavaScript

import { Meteor } from 'meteor/meteor';
const collectionOptions = Meteor.isClient ? {
connection: null,
} : {};
const BreakoutsHistory = new Mongo.Collection('breakouts-history', collectionOptions);
if (Meteor.isServer) {
BreakoutsHistory._ensureIndex({ meetingId: 1 });
}
export default BreakoutsHistory;