Fix Gitlab::Database#mysql?

This commit is contained in:
Douwe Maan 2015-10-22 10:18:44 +02:00
parent 310f49af35
commit 05cb65dc1f

View file

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