Autoload ReferenceDefinition class in abstract adapter so that it can be used by #add_reference in schema_statements

- Fixes #22916.
This commit is contained in:
Prathamesh Sonpatki 2016-01-05 13:29:09 +05:30
parent 35dd9e9f2a
commit b466e5fad5

@ -23,6 +23,7 @@ module ConnectionAdapters # :nodoc:
autoload :TableDefinition
autoload :Table
autoload :AlterTable
autoload :ReferenceDefinition
end
autoload_at 'active_record/connection_adapters/abstract/connection_pool' do