Skip to content

Commit 26c3776

Browse files
committed
Fixes before adapter refactor
1 parent d726673 commit 26c3776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_record/connection_adapters/sqlserver/schema_statements.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def column_definitions(table_name)
504504
results = internal_exec_query(sql, "SCHEMA", binds)
505505

506506
columns = results.map do |ci|
507-
ci = ci.symbolize_keys
507+
ci = ci.to_h.symbolize_keys
508508
ci[:_type] = ci[:type]
509509
ci[:table_name] = view_tblnm || table_name
510510
ci[:type] = case ci[:type]

0 commit comments

Comments
 (0)