mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Fixed _ensureIndex to createIndex for MongoDB 5. Updated to latest Meteor beta.
This commit is contained in:
parent
4bbe63365c
commit
c926475eb1
29 changed files with 68 additions and 63 deletions
|
|
@ -51,7 +51,7 @@ AccountSettings.allow({
|
|||
|
||||
if (Meteor.isServer) {
|
||||
Meteor.startup(() => {
|
||||
AccountSettings._collection._ensureIndex({ modifiedAt: -1 });
|
||||
AccountSettings._collection.createIndex({ modifiedAt: -1 });
|
||||
AccountSettings.upsert(
|
||||
{ _id: 'accounts-allowEmailChange' },
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue