I use migrate-mongo to run my migrations across dev/stage/prod environments. For my documents I use the autogenerated mongo id-s. But when I run an insertion script like this
let result = await db.collection("regions").insertMany(
[{
region: "Asia",
hostedIn: "Singapore",
token: "asia",
order:1
},
using migrate-mongo it generates different id-s for each environments. What is the best practice to keep ids the same across the environments?