1.0.3 • Published 4 years ago

mariner v1.0.3

Weekly downloads
70
License
MIT
Repository
github
Last release
4 years ago

Mariner

Seaworthy migration manager.

Supported Migration Types

Upgrading from < 1.0

mariner init -b

Configuration

mariner.js (with default values)

module.exports = {
  directory: './migrations',

  plugins: ['sql', 'js'],

  // see list of available options at http://knexjs.org
  sql: {},

  backend: 'sql',
};

Usage

Initiate Mariner

To create the default configuration file

mariner init

Migration creation

If no extension is provided mariner will use sql

mariner create "name of migration" -e <file-extension>

Migrating

When migrating if no number is supplied on up all migrations are executed, on down it defaults to the last migration

mariner migrate up|down -n <num>

1.0.3

4 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago