mirror of
https://github.com/wekan/wekan.git
synced 2026-03-11 16:12:34 +01:00
Merge pull request #6093 from harryadel/createIndex-migration
Migrate createIndex to createIndexAsync
This commit is contained in:
commit
25eedd187e
32 changed files with 112 additions and 110 deletions
|
|
@ -64,8 +64,8 @@ Triggers.helpers({
|
|||
});
|
||||
|
||||
if (Meteor.isServer) {
|
||||
Meteor.startup(() => {
|
||||
Triggers._collection.createIndex({ modifiedAt: -1 });
|
||||
Meteor.startup(async () => {
|
||||
await Triggers._collection.createIndexAsync({ modifiedAt: -1 });
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue