1.1.0 • Published 9 years ago
immigration-rethinkdb v1.1.0
Immigration RethinkDB
RethinkDB adapter for immigration.
Installation
npm install immigration-rethinkdb --saveUsage
The adapter will automatically create the db and table on first run.
immigration --use [ immigration-rethinkdb --config support/rethinkdb --table Migration ] up --newOptions
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 resolveconnectOptionsfrom (E.g.require(...).connectOptions)
License
MIT