aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2018-01-28 10:35:16 +0000
committerYasuo Honda <yasuo.honda@gmail.com>2018-01-28 10:35:16 +0000
commit50193e6bb750e10f59a4d571d932895393a8b5b2 (patch)
treec0480768ea2c59bd4a25fe5d438aaf7207f2daa7 /activerecord
parenta88eb9087260cca256c6faba40bf538d4a0289b3 (diff)
downloadrails-50193e6bb750e10f59a4d571d932895393a8b5b2.tar.gz
rails-50193e6bb750e10f59a4d571d932895393a8b5b2.tar.bz2
rails-50193e6bb750e10f59a4d571d932895393a8b5b2.zip
Define `supports_foreign_tables?` in AbstractAdapter
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract_adapter.rb5
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