2017-10-12 05:25:18 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
|
2017-10-13 03:07:02 +08:00
|
|
|
const Captions = new Mongo.Collection('captions');
|
2017-10-12 05:25:18 +08:00
|
|
|
|
|
|
|
if (Meteor.isServer) {
|
2019-05-17 04:11:10 +08:00
|
|
|
Captions._ensureIndex({ meetingId: 1, padId: 1 });
|
2017-10-12 05:25:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export default Captions;
|