node-migrate-fs
v0.1.1
Published
File system store for node-migrate
Maintainers
Readme
node-migrate-fs
File system store for node-migrate.
Installation
npm install node-migrate-fsOptions
| Command line | Programmatic | Description |
| -------------- | ------------ | --------------------------------------------- |
| --store-path | path | State file path. Default migrations/.state. |
Usage
Command line
node-migrate --store node-migrate-fs --store-path my/path/.stateProgramatic use
const migrate = require('node-migrate');
const fsStore = require('node-migrate-fs');
const store = fsStore({
path: 'my/path/.state'
});
migrate({ store });