14 lines
314 B
JavaScript
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;
|