@tenderlove just pointed me that we have [another `sql_type` method](https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/column.rb#L16), and it is the used here. I'll change it.