mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02: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
|
@ -1661,12 +1661,12 @@ if (Meteor.isServer) {
|
|||
// Let mongoDB ensure username unicity
|
||||
Meteor.startup(() => {
|
||||
allowedSortValues.forEach((value) => {
|
||||
Lists._collection._ensureIndex(value);
|
||||
Lists._collection.createIndex(value);
|
||||
});
|
||||
Users._collection._ensureIndex({
|
||||
Users._collection.createIndex({
|
||||
modifiedAt: -1,
|
||||
});
|
||||
Users._collection._ensureIndex(
|
||||
Users._collection.createIndex(
|
||||
{
|
||||
username: 1,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue