diff --git a/lib/active_record/connection_adapters/odbc_adapter.rb b/lib/active_record/connection_adapters/odbc_adapter.rb index 24b9173b..567ff408 100644 --- a/lib/active_record/connection_adapters/odbc_adapter.rb +++ b/lib/active_record/connection_adapters/odbc_adapter.rb @@ -126,10 +126,6 @@ def disconnect! @connection.disconnect if @connection.connected? end - def new_column(name, default, cast_type, sql_type = nil, null = true) - ::ODBCAdapter::Column.new(name, default, cast_type, sql_type, null) - end - protected def initialize_type_map(map) @@ -172,8 +168,8 @@ def translate_exception(exception, message) end end - def new_column(name, default, cast_type, sql_type = nil, null = true, scale = nil, limit = nil) - ::ODBCAdapter::Column.new(name, default, cast_type, sql_type, null, scale, limit) + def new_column(name, default, cast_type, sql_type = nil, null = true, native_type = nil, scale = nil, limit = nil) + ::ODBCAdapter::Column.new(name, default, cast_type, sql_type, null, native_type, scale, limit) end private