We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26d642 commit be032e7Copy full SHA for be032e7
lib/active_record/connection_adapters/sqlserver_adapter.rb
@@ -401,6 +401,7 @@ def initialize_type_map(m)
401
m.register_type "nvarchar(max)", SQLServer::Type::UnicodeVarcharMax.new
402
403
m.register_type "ntext", SQLServer::Type::UnicodeText.new
404
+ m.register_type %r(char)i, SQLServer::Type::String.new
405
406
# Binary Strings
407
register_class_with_limit m, %r{\Abinary}i, SQLServer::Type::Binary
0 commit comments