You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to remove the comments (the TODO and Example) in every single migration?
module.exports = {
async up(db, client) {
// TODO write your migration here. <=== Getting rid of this part
// See https://github.com/seppevs/migrate-mongo/#creating-a-new-migration-script
// Example:
// await db.collection('albums').updateOne({artist: 'The Beatles'}, {$set: {blacklisted: true}});
},
async down(db, client) {
// TODO write the statements to rollback your migration (if possible) <=== Getting rid of this part
// Example:
// await db.collection('albums').updateOne({artist: 'The Beatles'}, {$set: {blacklisted: false}});
}
};
The text was updated successfully, but these errors were encountered:
Is there a way to remove the comments (the TODO and Example) in every single migration?
The text was updated successfully, but these errors were encountered: