Skip to content

Commit 959c569

Browse files
committed
Remove superfluous DB json type alias.
1 parent db038d3 commit 959c569

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/active_record/connection_adapters/sqlserver_adapter.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ def initialize_type_map(m)
305305
m.alias_type 'string', 'nvarchar(4000)'
306306
m.register_type 'nvarchar(max)', SQLServer::Type::UnicodeVarcharMax.new
307307
m.register_type 'nvarchar(max)', SQLServer::Type::UnicodeVarcharMax.new
308-
m.alias_type 'json', 'nvarchar(max)'
309308
m.register_type 'ntext', SQLServer::Type::UnicodeText.new
310309
# Binary Strings
311310
register_class_with_limit m, %r{\Abinary}i, SQLServer::Type::Binary

0 commit comments

Comments
 (0)