Method: Redmine::Database.postgresql?
- Defined in:
- lib/redmine/database.rb
.postgresql? ⇒ Boolean
Returns true if the database is PostgreSQL
30 31 32 |
# File 'lib/redmine/database.rb', line 30 def postgresql? /postgresql/i.match?(ActiveRecord::Base.connection.adapter_name) end |