mig

0.1.3 • Public • Published

Running examples

A local MongoDB running on the default port will be needed as well as the default test database (stuff will be written to it). It must contain a migrations collection.

Alternatively, it's possible to change example/config.json.

To test the custom maintenance script:

% ./bin/mig -p example -rs test

To check what is needed to be run as well as current schema version:

% ./bin/mig -p example

To run the migrations:

% ./bin/mig -p example -r

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    2
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i mig

Weekly Downloads

2

Version

0.1.3

License

MIT/X11

Last publish

Collaborators

  • wizzbuy