mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 07:46:17 +01:00
Add support for Trilogy adapter (#42675).
Patch by Pavel Rosický (user:ahorek). git-svn-id: https://svn.redmine.org/redmine/trunk@23753 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -58,7 +58,7 @@ module Redmine
|
||||
|
||||
# Returns true if the database is MySQL
|
||||
def mysql?
|
||||
/mysql/i.match?(ActiveRecord::Base.connection.adapter_name)
|
||||
/mysql|trilogy/i.match?(ActiveRecord::Base.connection.adapter_name)
|
||||
end
|
||||
|
||||
def mysql_version
|
||||
|
||||
Reference in New Issue
Block a user