Class: Arc::DataStores::ObjectDefinitions::PostgresColumn
- Defined in:
- lib/arc/data_stores/postgres/object_definitions.rb
Instance Attribute Summary
Attributes inherited from Column
Instance Method Summary collapse
Methods inherited from Column
#allows_null?, #initialize, #pk?
Constructor Details
This class inherits a constructor from Arc::DataStores::ObjectDefinitions::Column
Instance Method Details
#type ⇒ Object
61 62 63 64 65 |
# File 'lib/arc/data_stores/postgres/object_definitions.rb', line 61 def type return :varchar if @stype =~ /character varying/ return :time if @stype =~ /time/ @stype.to_sym end |