summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-03-22 03:56:01 +0000
committerStan Hu <stanhu@gmail.com>2019-03-22 03:56:01 +0000
commit21a8079a01b791aab6f152753ad7078a6b2fd65c (patch)
tree5bcde0b4dbe57ccc3048830e2f6b195229ad8d50 /config
parent8e3322b49cddebdc7280fee35a1d3d5985607c0b (diff)
parenta86f48c79b3d4b03279be0132e2a4eeadd5e22dc (diff)
downloadgitlab-ce-21a8079a01b791aab6f152753ad7078a6b2fd65c.tar.gz
Merge branch 'da-capitalize-db-apapter-name-on-rails-console' into 'master'
Display the database adapter name in a human-friendly way See merge request gitlab-org/gitlab-ce!26437
Diffstat (limited to 'config')
-rw-r--r--config/initializers/console_message.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/console_message.rb b/config/initializers/console_message.rb
index f7c26732e6d..05eb395028d 100644
--- a/config/initializers/console_message.rb
+++ b/config/initializers/console_message.rb
@@ -5,6 +5,6 @@ if defined?(Rails::Console)
puts "-------------------------------------------------------------------------------------"
puts " GitLab:".ljust(justify) + "#{Gitlab::VERSION} (#{Gitlab.revision})"
puts " GitLab Shell:".ljust(justify) + "#{Gitlab::VersionInfo.parse(Gitlab::Shell.new.version)}"
- puts " #{Gitlab::Database.adapter_name}:".ljust(justify) + Gitlab::Database.version
+ puts " #{Gitlab::Database.human_adapter_name}:".ljust(justify) + Gitlab::Database.version
puts "-------------------------------------------------------------------------------------"
end