mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #41756 from c960657/patch-3
Probe with :array? instead of :oid
This commit is contained in:
commit
d9494f9ec6
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ module ActiveRecord
|
|||
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue