update database
This commit is contained in:
10
abra.sh
10
abra.sh
@ -1,7 +1,7 @@
|
|||||||
export ENTRYPOINT_VERSION=v2
|
export ENTRYPOINT_VERSION=v2
|
||||||
|
|
||||||
set_settings(){
|
set_settings(){
|
||||||
mongo wekan --eval '
|
mongosh wekan --eval '
|
||||||
db.settings.updateOne(
|
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" } )'
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user