rethinkdb-init icon indicating copy to clipboard operation
rethinkdb-init copied to clipboard

Create all RethinkDB databases, tables and indexes automatically through a schema object.

Results 8 rethinkdb-init issues
Sort by recently updated
recently updated
newest added

Hi Hope @thejsj will take a look at this. I've created a (temporary ?) fork, update packages (#22) fix tests, base on blakek fork #21 https://github.com/netwaf/rethinkdb-init Cheers

rethinkdb-init has a dependency on an old version of lodash that has been flagged by npm audit. See the advisory here https://www.npmjs.com/advisories/577 **my local npm audit:** ``` === npm audit...

Is it possible to run init only if the tables / db in question do not exist?

Sometimes something strange happens and I find that there are duplicate tables or even databases exist in our RethinkDB server. For some reason I think this could happen when connection...

This documentation to address #20. Also, there were extra curly braces at the end of some examples. Thanks!

Do you have support for compound indexes? ``` // Create a compound secondary index based on the first_name and last_name attributes r.table("users").indexCreate( "full_name", [r.row("last_name"), r.row("first_name")] ).run(conn, callback) ```

In our app, table creation is done per module at module init phase, separate from db connection init. Could an API be made for that?