mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Use MongoDB setFeatureCompatibilityVersion 4.2 on Snap. TODO: Docker.
Thanks to GuidoDr and xet7 ! Related #3247
This commit is contained in:
parent
7f0da49e0a
commit
2791b7da22
1 changed files with 1 additions and 1 deletions
|
|
@ -95,6 +95,6 @@ else
|
||||||
|
|
||||||
# Drop indexes on database upgrade, when starting MongoDB
|
# Drop indexes on database upgrade, when starting MongoDB
|
||||||
#mongo wekan --eval "db.getCollectionNames().forEach(function(col_name) { var coll = db.getCollection(col_name); coll.dropIndexes(); });" $BIND_OPTIONS
|
#mongo wekan --eval "db.getCollectionNames().forEach(function(col_name) { var coll = db.getCollection(col_name); coll.dropIndexes(); });" $BIND_OPTIONS
|
||||||
mongo wekan --eval 'db.adminCommand({ setFeatureCompatibilityVersion: "4.4" });' $BIND_OPTIONS
|
mongo wekan --eval 'db.adminCommand({ setFeatureCompatibilityVersion: "4.2" });' $BIND_OPTIONS
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue