debian-mirror-gitlab/config/initializers/1_postgresql_only.rb
2021-10-27 15:23:28 +05:30

6 lines
200 B
Ruby

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