2017-09-08 07:41:03 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
|
|
|
|
const Meetings = new Mongo.Collection('meetings2x');
|
|
|
|
|
|
|
|
if (Meteor.isServer) {
|
|
|
|
// types of queries for the meetings:
|
|
|
|
// 1. meetingId
|
|
|
|
|
|
|
|
Meetings._ensureIndex({ meetingId: 1 });
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Meetings;
|