Skip to content

Commit

Permalink
updated bcmi collection migration to properly find all relevant permi…
Browse files Browse the repository at this point in the history
…ts when updating collections (#1244)
  • Loading branch information
acatchpole authored Jun 24, 2024
1 parent 0f6517a commit 02a49b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ exports.up = async function(db) {
const nrpti = await mClient.collection('nrpti');

const collections = await nrpti.find({ _schemaName: 'CollectionBCMI' }).toArray();
const permits = await nrpti.find({ _schemaName: 'PermitBCMI' }).toArray();
const permits = await nrpti.find({ _schemaName: { $in: ['Permit', 'PermitBCMI'] } }).toArray();

let count = 0;

Expand Down

0 comments on commit 02a49b2

Please sign in to comment.