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

/mig/

    Package Sidebar

    Install

    npm i mig

    Weekly Downloads

    2

    Version

    0.1.3

    License

    MIT/X11

    Last publish

    Collaborators

    • wizzbuy