Class: ActiveRecord::ConnectionAdapters::InformixColumn

Inherits:
Column
  • Object
show all
Defined in:
lib/active_record/connection_adapters/informix_adapter.rb

Instance Method Summary collapse

Constructor Details

#initialize(column) ⇒ InformixColumn

Returns a new instance of InformixColumn.



62
63
64
65
66
# File 'lib/active_record/connection_adapters/informix_adapter.rb', line 62

def initialize(column)
  sql_type = make_type(column[:stype], column[:length],
                       column[:precision], column[:scale])
  super(column[:name], column[:default], sql_type, column[:nullable])
end