Files
gitlab-foss/config/initializers/1_postgresql_only.rb
2023-09-18 21:11:32 +00:00

7 lines
213 B
Ruby

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