You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.
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? :)
The text was updated successfully, but these errors were encountered:
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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? :)
The text was updated successfully, but these errors were encountered: