2018-04-06 03:59:26 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
|
|
|
|
const PresentationPods = new Mongo.Collection('presentation-pods');
|
|
|
|
|
|
|
|
if (Meteor.isServer) {
|
|
|
|
// types of queries for the presentation pods:
|
2018-04-11 07:27:11 +08:00
|
|
|
// 1. meetingId, podId ( 4 )
|
|
|
|
|
2018-04-06 03:59:26 +08:00
|
|
|
PresentationPods._ensureIndex({ meetingId: 1, podId: 1 });
|
|
|
|
}
|
|
|
|
|
|
|
|
export default PresentationPods;
|