debian-mirror-gitlab/config/initializers/1_postgresql_only.rb

7 lines
200 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
# frozen_string_literal: true
raise "PostgreSQL is the only supported database from GitLab 12.1" unless
2021-10-27 15:23:28 +05:30
Gitlab::Database.main.postgresql?
2020-07-28 23:09:34 +05:30
Gitlab::Database.check_postgres_version_and_print_warning