diff options
| author | Teddy Wing | 2017-04-29 23:26:59 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-04-29 23:26:59 +0200 | 
| commit | ad34e0127eae4965f4e48c132e06b3dfba474d18 (patch) | |
| tree | 11306864897ba007e2f94607ee35c24dcf6e3254 /lib | |
| parent | d976bb250e81c48f95eee50130e17c92a3e20a32 (diff) | |
| download | dbshell-rails-ad34e0127eae4965f4e48c132e06b3dfba474d18.tar.bz2 | |
DBShell::Client::Database: Add support for the 'postgis' adapter
PostGIS is, for our purposes, no different from Postgres. Both should
launch `psql`.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/dbshell/client/database.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/dbshell/client/database.rb b/lib/dbshell/client/database.rb index b6be74b..d0df238 100644 --- a/lib/dbshell/client/database.rb +++ b/lib/dbshell/client/database.rb @@ -9,7 +9,7 @@ module DBShell          case connection_params['adapter']          when 'sqlite3'            DBShell::Client::SQLite3 -        when 'postgresql' +        when 'postgresql', 'postgis'            DBShell::Client::Postgres          when 'mysql2'            DBShell::Client::MySQL | 
