2019-03-29 02:47:11 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
|
|
|
|
|
|
|
const Note = new Mongo.Collection('note');
|
|
|
|
|
|
|
|
if (Meteor.isServer) {
|
2019-06-01 04:02:33 +08:00
|
|
|
Note._ensureIndex({ meetingId: 1, noteId: 1 });
|
2019-03-29 02:47:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export default Note;
|