diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-29 06:11:15 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-29 06:11:15 +0900 |
commit | 970b5e150c5beb523a475cdc2b3cb218edfc771d (patch) | |
tree | 081e1d6873804116fbcc3942b40deae489fbcb07 | |
parent | 8fb8067cfff7b197864b04380e9d1f9be0c7d06c (diff) | |
parent | 50193e6bb750e10f59a4d571d932895393a8b5b2 (diff) | |
download | rails-970b5e150c5beb523a475cdc2b3cb218edfc771d.tar.gz rails-970b5e150c5beb523a475cdc2b3cb218edfc771d.tar.bz2 rails-970b5e150c5beb523a475cdc2b3cb218edfc771d.zip |
Merge pull request #31811 from yahonda/supports_foreign_tables_in_abstract_adapter
Define `supports_foreign_tables?` in AbstractAdapter
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index 7bd54f777e..56a5ea153b 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -326,6 +326,11 @@ module ActiveRecord false end + # Does this adapter support foreign/external tables? + def supports_foreign_tables? + false + end + # This is meant to be implemented by the adapters that support extensions def disable_extension(name) end |