Class: ActiveRecord::ConnectionAdapters::PostgreSQLColumn
- Inherits:
-
Column
- Object
- Column
- ActiveRecord::ConnectionAdapters::PostgreSQLColumn
- Defined in:
- lib/active_record/connection_adapter_with_uuid.rb
Instance Method Summary collapse
-
#simplified_type_with_uuid(field_type) ⇒ Object
Adds the uuid type for the column.
Instance Method Details
#simplified_type_with_uuid(field_type) ⇒ Object
Adds the uuid type for the column.
23 24 25 |
# File 'lib/active_record/connection_adapter_with_uuid.rb', line 23 def simplified_type_with_uuid(field_type) field_type == 'uuid' ? :uuid : simplified_type_without_uuid(field_type) end |