0.1.1 • Published 5 years ago

node-migrate-fs v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

node-migrate-fs

File system store for node-migrate.

Installation

npm install node-migrate-fs

Options

Command lineProgrammaticDescription
--store-pathpathState file path. Default migrations/.state.

Usage

Command line

node-migrate --store node-migrate-fs --store-path my/path/.state

Programatic use

const migrate = require('node-migrate');
const fsStore = require('node-migrate-fs');

const store = fsStore({
  path: 'my/path/.state'
});

migrate({ store });