mirror of
https://github.com/wekan/wekan.git
synced 2026-02-21 23:44:06 +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
|
|
@ -53,7 +53,9 @@ if (__meteor_runtime_config__.SANDSTORM) {
|
|||
// Maps tokens to currently-waiting login method calls.
|
||||
|
||||
if (Package["accounts-base"]) {
|
||||
Meteor.users.createIndex("services.sandstorm.id", {unique: 1, sparse: 1});
|
||||
Meteor.startup(async () => {
|
||||
await Meteor.users.createIndexAsync("services.sandstorm.id", {unique: 1, sparse: 1});
|
||||
});
|
||||
}
|
||||
|
||||
Meteor.onConnection(function (connection) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue