[umbrella]: Add script to add standalone field with default value true.
This commit is contained in:
parent
4f1d1b89f4
commit
0d50ce9dd2
|
@ -0,0 +1,6 @@
|
||||||
|
function addStandaloneWithDefaultValue() {
|
||||||
|
/* Set standalone by default true */
|
||||||
|
db.stakeholder.updateMany({standalone: {$exists: false}}, {$set: {standalone: true}});
|
||||||
|
}
|
||||||
|
|
||||||
|
addStandaloneWithDefaultValue();
|
Loading…
Reference in New Issue