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

Open
gucki opened this Issue Jul 19, 2011 · 1 comment

2 participants

@gucki

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? :)

@whoahbot
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