1.0.3 • Published 5 years ago

mariner v1.0.3

Weekly downloads
70
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.2

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.6.0

10 years ago

0.5.0

10 years ago

0.4.1

11 years ago

0.4.0

11 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago