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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user