jeremyevans/sequel — pull request #756 by robbiegill (2014-01-13 19:38:01+00:00)
Title: Adds schema parsing support for :byteint, :varbyte, and :byte as a column's :type_name

Some columns are returned like: [:YrsExp, {:type=>nil, :db_type=>"BYTEINT", :default=>nil, :allow_null=>true, :primary_key=>false, :column_size=>3, :scale=>nil, :ruby_default=>nil}]

but we'd prefer to see [:YrsExp, {:type=>:integer, :db_type=>"BYTEINT", :default=>nil, :allow_null=>true, :primary_key=>false, :column_size=>3, :scale=>nil, :ruby_default=>nil}]

Adds support for converting :byteint, :varbyte, and :byte in schema_column_type

:byteint -> :integer
:varbyte, :byte -> :blob

Note: These are types returned by teradata jdbc, http://developer.teradata.com/doc/connectivity/jdbc/reference/current/jdbcug_chapter_7.html