Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

add_hstore_index doesn't rollback properly #91

Open
mockdeep opened this issue Feb 22, 2013 · 5 comments
Open

add_hstore_index doesn't rollback properly #91

mockdeep opened this issue Feb 22, 2013 · 5 comments

Comments

@mockdeep
Copy link

When rolling back the database the code from the readme doesn't work for me:

def change
  add_hstore_index :people, :data
end 

I had to separate it into the up and down methods:

def up
  add_hstore_index :people, :data
end

def down
  remove_index :people, :data
end
@mikecarroll
Copy link

I'm also encountering this issue.

@snooc
Copy link

snooc commented Apr 4, 2013

👍 for mockdeep.

@nmertaugh
Copy link

👍 Failtown on my end too :-(

$ gem list | grep hstore
# => activerecord-postgres-hstore (0.7.6)

@fenec
Copy link

fenec commented Sep 23, 2013

same thing here

@tony612
Copy link

tony612 commented Apr 15, 2014

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants