Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/active_record/connection_adapters/sqlserver_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ def initialize_type_map(m)
m.register_type "nvarchar(max)", SQLServer::Type::UnicodeVarcharMax.new
m.register_type "nvarchar(max)", SQLServer::Type::UnicodeVarcharMax.new
m.register_type "ntext", SQLServer::Type::UnicodeText.new
m.register_type %r(varchar)i, SQLServer::Type::String.new

# Binary Strings
register_class_with_limit m, %r{\Abinary}i, SQLServer::Type::Binary
Expand Down
Loading