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:
Go MAEDA
2025-05-10 07:28:36 +00:00
parent 1b9698df2c
commit 6b06d5b171
2 changed files with 4 additions and 1 deletions

View File

@@ -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