diff options
author | DJ Mountney <david@twkie.net> | 2019-06-20 17:56:46 +0300 |
---|---|---|
committer | DJ Mountney <david@twkie.net> | 2019-06-25 20:44:40 +0300 |
commit | f4e15535198da1d5a655b6abe0afafac47219ab5 (patch) | |
tree | 11c0a29db654aae83d98de903e110f8040c5a3c4 /lib/gitlab/database.rb | |
parent | 7a089438fa138934b5dab7bdd575a74a1dfd03c0 (diff) |
Move min schema version check to db:migrate
Rather than have it checked only as part of gitlab:db:configure, we will
instead have it as a pre-req for every db:migrate command
Diffstat (limited to 'lib/gitlab/database.rb')
-rw-r--r-- | lib/gitlab/database.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/database.rb b/lib/gitlab/database.rb index 5e5b79b8e99..2fd9250b3c2 100644 --- a/lib/gitlab/database.rb +++ b/lib/gitlab/database.rb @@ -14,6 +14,7 @@ module Gitlab # Minimum schema version from which migrations are be supported # Migrations before this version may have been removed MIN_SCHEMA_VERSION = 20190506135400 + MIN_SCHEMA_GITLAB_VERSION = '11.11.0' def self.config ActiveRecord::Base.configurations[Rails.env] |