Module: ArJdbc::Teradata::Column
- Included in:
- ActiveRecord::ConnectionAdapters::TeradataColumn
- Defined in:
- lib/arjdbc/teradata/adapter.rb
Overview
-
remove_timestamps
Instance Method Summary collapse
-
#simplified_type(field_type) ⇒ Object
Maps Teradata types of logical Rails types.
Instance Method Details
#simplified_type(field_type) ⇒ Object
Maps Teradata types of logical Rails types
348 349 350 351 352 353 354 355 356 |
# File 'lib/arjdbc/teradata/adapter.rb', line 348 def simplified_type(field_type) case field_type when /^timestamp with(?:out)? time zone$/ then :datetime when /byteint/i then :boolean when /blob/i then :binary else super end end |