[4.0beta1] In migrations, `change_table` does not support `t.hstore` while `create_table` does #9480

sudhirj opened this Issue Feb 28, 2013 · 1 comment


None yet
2 participants

sudhirj commented Feb 28, 2013

Trying to create a hstore column in a create_table call works fine, while trying it in change_table produces the following error:

-- change_table(:movies)
rake aborted!
An error has occurred, this and all later migrations canceled:

undefined method `hstore' for #<ActiveRecord::ConnectionAdapters::Table:0x007fccd3d532a0>

This is on 4.0.0.beta1.


senny commented Feb 28, 2013

I confirmed this problam and I am working on a PR to fix it. This does not only affect hstore but all pg specific column types (json, xml, etc...)

senny was assigned Feb 28, 2013

senny closed this in 5d0ca74 Feb 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment