Skip to content

Commit

Permalink
Merge pull request #41756 from c960657/patch-3
Browse files Browse the repository at this point in the history
Probe with :array? instead of :oid
  • Loading branch information
rafaelfranca committed Mar 25, 2021
2 parents 6daa2d8 + 0d5f43e commit d9494f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/model_schema.rb
Expand Up @@ -619,7 +619,7 @@ def _convert_type_from_options(type)

def warn_if_deprecated_type(column)
return if attributes_to_define_after_schema_loads.key?(column.name)
return unless column.respond_to?(:oid)
return unless column.respond_to?(:array?)

if column.array?
array_arguments = ", array: true"
Expand Down

0 comments on commit d9494f9

Please sign in to comment.