summaryrefslogtreecommitdiff
path: root/vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb')
-rw-r--r--vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb b/vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb
new file mode 100644
index 0000000..20392e1
--- /dev/null
+++ b/vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb
@@ -0,0 +1,3 @@
1require 'active_record'
2Database = defined?(JRUBY_VERSION) ? 'jdbcpostgresql' : 'postgresql'
3require "active_record/connection_adapters/#{Database}_adapter"