Skip to content

Import existing database #139

aL3xa opened this Issue Mar 29, 2012 · 1 comment

2 participants

aL3xa commented Mar 29, 2012

I'm probably missing the point of couchrest_model, but I already have a database, and I'd just like to import it in order to retrieve stuff from it. So, if I add stuff outside of Rails, I can't pick up the changes from console, but if I add stuff from Rails, everything works like a charm. Any ideas how to make couchrest_model aware of existing changes in the database?

raldred commented Oct 9, 2012

This sounds more like an index issue rather than a couchrest_model issue.

  • Stop couch
  • Deleting the dot folders in the data directory (.*_design)
  • Start couch
  • Visit a view from each design document once, this should bring everything back into the indexes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.