Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

migrate and upgrade rake task dont seem to do anything #19

Open
gucki opened this Issue · 1 comment

2 participants

Corin Langosch Dan Herrera
Corin Langosch

I added an :index => true to a property after already adding some records. Using Person.all(:name => 'test') does then return nothing, I guess because a key lookup is used but then key has not been set before. So I tried running the rake tasks automigrate and autouprade but both dont seem to do anything (according to redis monitor).

So I wonder how to add/ remove an index to existing records? :)

Dan Herrera
Owner

Hi @gucki!

Currently, there isn't any functionality in dm-redis to update indexes based on schema changes, so there isn't currently a way to add an index to an existing record automatically.

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.