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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
205 B
Ruby
Raw Permalink 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-12-11 22:18:48 +05:30
ApplicationRecord.database.postgresql?
2020-07-28 23:09:34 +05:30
Gitlab::Database.check_postgres_version_and_print_warning