activerecord-postgres-hstore icon indicating copy to clipboard operation
activerecord-postgres-hstore copied to clipboard

add_hstore_index doesn't rollback properly

Open mockdeep opened this issue 12 years ago • 5 comments

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

mockdeep avatar Feb 22 '13 02:02 mockdeep

I'm also encountering this issue.

mikecarroll avatar Apr 01 '13 00:04 mikecarroll

:+1: for mockdeep.

snooc avatar Apr 04 '13 20:04 snooc

:+1: Failtown on my end too :-(

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

nmertaugh avatar Sep 13 '13 19:09 nmertaugh

same thing here

fenec avatar Sep 23 '13 09:09 fenec

:+1:

tony612 avatar Apr 15 '14 07:04 tony612