13 lines
246 B
JavaScript
13 lines
246 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
|
|
const Meetings = new Mongo.Collection('meetings');
|
|
|
|
if (Meteor.isServer) {
|
|
// types of queries for the meetings:
|
|
// 1. meetingId
|
|
|
|
Meetings._ensureIndex({ meetingId: 1 });
|
|
}
|
|
|
|
export default Meetings;
|