Commit 05cb65dc authored by Douwe Maan's avatar Douwe Maan

Fix Gitlab::Database#mysql?

parent 310f49af
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?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment