gitlab-org--gitlab-foss/config/initializers/1_postgresql_only.rb

7 lines
195 B
Ruby
Raw Normal View History

# frozen_string_literal: true
raise "PostgreSQL is the only supported database from GitLab 12.1" unless
Gitlab::Database.postgresql?
Gitlab::Database.check_postgres_version_and_print_warning