Immigration RethinkDB
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 toport
(number) The port to connect ondb
(string) The default databaseuser
(string) The user account to connect aspassword
(string) The password for the user account to connect astimeout
(number) Timeout period in seconds for the connection to be openedcert
(string) An SSL CA certificate to useconnectOptions
(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 resolveconnectOptions
from (E.g.require(...).connectOptions
)
License
MIT