Fix Gitlab::Database#mysql?
This commit is contained in:
parent
310f49af35
commit
05cb65dc1f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
module Gitlab
|
||||
module Database
|
||||
def self.mysql?
|
||||
ActiveRecord::Base.connection.adapter_name.downcase == 'mysql'
|
||||
ActiveRecord::Base.connection.adapter_name.downcase == 'mysql2'
|
||||
end
|
||||
|
||||
def self.postgresql?
|
||||
|
|
Loading…
Reference in a new issue