16 lines
321 B
JavaScript
16 lines
321 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
|
|
const collectionOptions = Meteor.isClient ? {
|
|
connection: null,
|
|
} : {};
|
|
|
|
const UserSettings = new Mongo.Collection('users-settings', collectionOptions);
|
|
|
|
if (Meteor.isServer) {
|
|
UserSettings.createIndexAsync({
|
|
meetingId: 1, userId: 1,
|
|
});
|
|
}
|
|
|
|
export default UserSettings;
|