update database

This commit is contained in:
2024-07-09 15:05:29 +02:00
parent 94cc1db80c
commit 1d9317c231

10
abra.sh
View File

@ -1,7 +1,7 @@
export ENTRYPOINT_VERSION=v2
set_settings(){
mongo wekan --eval '
mongosh wekan --eval '
db.settings.updateOne(
{},
{
@ -15,3 +15,11 @@ set_settings(){
}
)'
}
show_mongo_version (){
mongosh --eval 'db.adminCommand( { getParameter: 1, featureCompatibilityVersion: 1 } )'
}
update_mongo_version (){
mongosh --eval 'db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } )'
}