summaryrefslogtreecommitdiff
path: root/config/initializers/1_postgresql_only.rb
blob: 3be55255dddb2298f87024ee824d437c5e581dc2 (plain)
1
2
3
4
5
6
# frozen_string_literal: true

raise "PostgreSQL is the only supported database from GitLab 12.1" unless
  ApplicationRecord.database.postgresql?

Gitlab::Database.check_postgres_version_and_print_warning