chpr-mongodb
Advanced tools
Comparing version
@@ -136,4 +136,4 @@ # Migrations | ||
it('validates that each migration is rollbackable', () => { | ||
return mongodb.checkDangerouslyMigrationsRollbackability(); | ||
it('validates that each migration is rollbackable', async () => { | ||
await mongodb.checkDangerouslyMigrationsRollbackability(); | ||
}); | ||
@@ -350,2 +350,2 @@ }); | ||
- [Blog post about the MongoDb migration pattern](https://blog.staging.chpr.fr/post/2017-11-16-database-migration/) | ||
- [Slides about the MongoDb migration process](https://docs.google.com/presentation/d/18M_g_kaHeWENwiO3TsV3LSqdIA2WQeazWjO4gY1B86I/edit#slide=id.p) | ||
- [Slides about the MongoDb migration process](https://docs.google.com/presentation/d/18M_g_kaHeWENwiO3TsV3LSqdIA2WQeazWjO4gY1B86I/edit#slide=id.p) |
{ | ||
"name": "chpr-mongodb", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "MongoDB driver", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -45,5 +45,5 @@ const MongoDbConnector = require('../../index'); | ||
it('validates that each migration is rollbackable', () => { | ||
return mongodb.checkDangerouslyMigrationsRollbackability(); | ||
it('validates that each migration is rollbackable', async () => { | ||
await mongodb.checkDangerouslyMigrationsRollbackability(); | ||
}); | ||
}); |
180848
0.01%