activerecord-postgres-hstore
activerecord-postgres-hstore copied to clipboard
add_hstore_index doesn't rollback properly
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
I'm also encountering this issue.
:+1: for mockdeep.
:+1: Failtown on my end too :-(
$ gem list | grep hstore
# => activerecord-postgres-hstore (0.7.6)
same thing here
:+1: