node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

immigration-rethinkdb

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