node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »


Immigration RethinkDB

NPM version NPM downloads Build status Test coverage

RethinkDB adapter for immigration.


npm install immigration-rethinkdb --save


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

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


  • 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)