mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
8 lines
219 B
JavaScript
8 lines
219 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
import Actions from '/models/actions';
|
|
import { ensureIndex } from '/server/lib/mongoStartup';
|
|
|
|
Meteor.startup(async () => {
|
|
await ensureIndex(Actions, { modifiedAt: -1 });
|
|
});
|