Skip to content

Commit

Permalink
commit script update #3024
Browse files Browse the repository at this point in the history
  • Loading branch information
salomon-j committed Nov 13, 2023
1 parent 4393e03 commit e4ce849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scripts/releases/3.1/add110PrioritiesIntoMUs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ var priorities = [
}
];

var mus = db.managementUnit.find({name:"North NRM Region"});
var mus = db.managementUnit.find({});
while(mus.hasNext()){
var m = mus.next();
db.managementUnit.updateOne({name:m.name},{$push:{"priorities": {$each : priorities}}});
Expand Down

0 comments on commit e4ce849

Please sign in to comment.