lib/odbc_adapter/column.rb in odbc_adapter-5.0.2 vs lib/odbc_adapter/column.rb in odbc_adapter-5.0.3

- old
+ new

@@ -1,8 +1,11 @@ module ODBCAdapter class Column < ActiveRecord::ConnectionAdapters::Column attr_reader :native_type + # Add the native_type accessor to allow the native DBMS to report back what + # it uses to represent the column internally. + # rubocop:disable Metrics/ParameterLists def initialize(name, default, sql_type_metadata = nil, null = true, table_name = nil, native_type = nil, default_function = nil, collation = nil) super(name, default, sql_type_metadata, null, table_name, default_function, collation) @native_type = native_type end end