immigration-rethinkdb
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Immigration RethinkDB

NPM version NPM downloads Build status Test coverage

RethinkDB adapter for immigration.

Installation

npm install immigration-rethinkdb --save

Usage

The adapter will automatically create the db and table on first run.

immigration --use [ immigration-rethinkdb --config support/rethinkdb --table Migration ] up --new

Options

  • host (string) The host to connect to
  • port (number) The port to connect on
  • db (string) The default database
  • user (string) The user account to connect as
  • password (string) The password for the user account to connect as
  • timeout (number) Timeout period in seconds for the connection to be opened
  • cert (string) An SSL CA certificate to use
  • connectOptions (Object) The exact RethinkDB connect options (overrides other options)
  • table (string) The table name for migrations to be persisted (created automatically)
  • config (string) An option path to resolve connectOptions from (E.g. require(...).connectOptions)

License

MIT

Package Sidebar

Install

npm i immigration-rethinkdb

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • blakeembrey