Skip to content

Index timestamp was not found #28

Description

@cdaringe

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

> mymodule@1.0.0 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions