- Set Snap MongoDB compatibility to 4.2.5 according to Meteor ChangeLog.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2020-04-22 21:03:47 +03:00
parent 6fd827792a
commit f9747bc908

View file

@ -66,3 +66,5 @@ fi
# 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.adminCommand({ setFeatureCompatibilityVersion: "4.2" });' $BIND_OPTIONS