{"library":"mongration","type":"library","category":null,"description":"A Node.js migration framework for MongoDB that persists migration state in the database, supports checksums to detect changes in already-applied migrations, rollback on error, replica sets, and synchronous/asynchronous migrations. The current version is 1.0.1 (no recent updates). It features a programmatic API and a CLI, differentiating from other MongoDB migration tools by its built-in checksum verification and automatic rollback.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","mongration","mongodb","migration","database","node mongodb migration framework"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongration","imports":["import { Migration } from 'mongration'","const step = { id: 'step-name', up: function(db, next) { /* ... */ }, down: function(db, next) { /* ... */ } }","new Migration({ hosts: 'localhost:27017', db: 'mydb', migrationCollection: 'migrations' })"]},{"cmd":"yarn add mongration","imports":[]},{"cmd":"pnpm add mongration","imports":[]}],"homepage":"https://github.com/awapps/mongration#readme","github":"https://github.com/awapps/mongration","docs":null,"changelog":null,"pypi":null,"npm":"mongration","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}