summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-06-18 11:25:13 +0100
committerNick Thomas <nick@gitlab.com>2019-06-19 14:11:00 +0100
commit7754029e190eee6eb530c4c8dc45bec57095d92c (patch)
tree3511d1e356c2678daa5a3ef902b91faa35c470eb /config
parent22755a4aa2d2884629ef9050227ef461574d9d94 (diff)
downloadgitlab-ce-7754029e190eee6eb530c4c8dc45bec57095d92c.tar.gz
Only support postgresql
MySQL support has been removed
Diffstat (limited to 'config')
-rw-r--r--config/initializers/1_postgresql_only.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/initializers/1_postgresql_only.rb b/config/initializers/1_postgresql_only.rb
new file mode 100644
index 00000000000..be771bebf47
--- /dev/null
+++ b/config/initializers/1_postgresql_only.rb
@@ -0,0 +1,4 @@
+# frozen_string_literal: true
+
+raise "PostgreSQL is the only supported database from GitLab 12.1" unless
+ Gitlab::Database.postgresql?