Method: Redmine::Database.mysql?
- Defined in:
- lib/redmine/database.rb
.mysql? ⇒ Boolean
Returns true if the database is MySQL
60 61 62 |
# File 'lib/redmine/database.rb', line 60 def mysql? /mysql|trilogy/i.match?(ActiveRecord::Base.connection.adapter_name) end |