rethink-migrate
rethink-migrate copied to clipboard
Index `timestamp` was not found
hello!
thanks for the lib. i have been unable to get started successfully. i placed my database.json
in the root per instructions and ran rethink-migrate up
. the following occurs.
cdieringer@Snapper-osx:~/...path//api$ npm run migrate-up
> [email protected] migrate-up /path/to/thing
> rethink-migrate up
(node:49181) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[rethink-migrate] Connecting to database
[rethink-migrate] Connected
[rethink-migrate] Migration failed
{ ReqlOpFailedError: Index `timestamp` was not found on table `mydb._migrations` in:
r.table("_migrations").orderBy({"index": "timestamp"})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at ReqlOpFailedError.ReqlError [as constructor] (/path/to/thing/api/node_modules/rethinkdb/errors.js:23:13)
- pkg: "rethinkdb": "^2.3.1",
- pkg: "rethink-migrate": "^1.3.1"
- binary: rethinkdb 2.3.2 (CLANG 7.3.0 (clang-703.0.31))
thanks!