File system store for node-migrate.
npm install node-migrate-fs
Command line | Programmatic | Description |
---|---|---|
--store-path |
path | State file path. Default migrations/.state . |
node-migrate --store node-migrate-fs --store-path my/path/.state
const migrate = require('node-migrate');
const fsStore = require('node-migrate-fs');
const store = fsStore({
path: 'my/path/.state'
});
migrate({ store });