From 76f613d9eaf9741370a05190d021c526480f0cca Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Thu, 15 Jul 2021 13:52:12 +0200 Subject: [PATCH] Maintenance: Sync the database preflight check versions with what is actually required. --- .../application/initializer/db_preflight_check/mysql2.rb | 4 ++-- .../application/initializer/db_preflight_check/postgresql.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/zammad/application/initializer/db_preflight_check/mysql2.rb b/lib/zammad/application/initializer/db_preflight_check/mysql2.rb index 52b242eae..f69cf0d4a 100644 --- a/lib/zammad/application/initializer/db_preflight_check/mysql2.rb +++ b/lib/zammad/application/initializer/db_preflight_check/mysql2.rb @@ -66,9 +66,9 @@ module Zammad def self.min_version case vendor when 'MySQL' - '5.6' + '5.7' when 'MariaDB' - '10.0' + '10.3' end end diff --git a/lib/zammad/application/initializer/db_preflight_check/postgresql.rb b/lib/zammad/application/initializer/db_preflight_check/postgresql.rb index 3f0bb193f..c321ad19c 100644 --- a/lib/zammad/application/initializer/db_preflight_check/postgresql.rb +++ b/lib/zammad/application/initializer/db_preflight_check/postgresql.rb @@ -58,7 +58,7 @@ module Zammad end def self.min_version - @min_version ||= '9.1' + @min_version ||= '9.3' end def self.vendor