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 80c291b commit 798f84dCopy full SHA for 798f84d
lib/active_record/connection_adapters/sqlserver/schema_statements.rb
@@ -235,6 +235,7 @@ def column_definitions(table_name)
235
end
236
ci[:null] = ci[:is_nullable].to_i == 1 ; ci.delete(:is_nullable)
237
ci[:is_primary] = ci[:is_primary].to_i == 1
238
+ ci[:is_identity] = ci[:is_identity].to_i == 1 unless [TrueClass, FalseClass].include?(ci[:is_identity].class)
239
ci
240
241
0 commit comments