I am trying to move to heroku which uses PostgreSQL 8.4 which has a citext column type which is nice since the app was written for MySQL.
Is there any way to use :ci
Rails 4.2 has native support for the citext
column type.
If you're using Rails < 4.2, you can try using the activerecord-postgresql-citext gem.
This allows you to write migrations like this:
def up
enable_extension("citext")
create_table :models, :force => true do |t|
t.citext :name
t.timestamps
end
end