Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDJ Mountney <david@twkie.net>2019-06-25 20:28:18 +0300
committerDJ Mountney <david@twkie.net>2019-06-25 20:44:40 +0300
commitde93bf1fbbd091075ef7ebafb2ab9dabc2e6563c (patch)
treeb97e6b0d09f55251bee3cbe96ec733ff1b0167e8 /lib
parente793f96c2b684fb8e224eef509bcc7cb8b8d94af (diff)
Update comments and docs around min schema version
Fixed some spelling Dropped rake task description for a prefix only task Added note on skipping the check to the postgres debugging dev doc
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/database.rb2
-rw-r--r--lib/tasks/migrate/schema_check.rake2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/database.rb b/lib/gitlab/database.rb
index 2fd9250b3c2..7bb4a2c67bf 100644
--- a/lib/gitlab/database.rb
+++ b/lib/gitlab/database.rb
@@ -11,7 +11,7 @@ module Gitlab
# https://dev.mysql.com/doc/refman/5.7/en/datetime.html
MAX_TIMESTAMP_VALUE = Time.at((1 << 31) - 1).freeze
- # Minimum schema version from which migrations are be supported
+ # Minimum schema version from which migrations are supported
# Migrations before this version may have been removed
MIN_SCHEMA_VERSION = 20190506135400
MIN_SCHEMA_GITLAB_VERSION = '11.11.0'
diff --git a/lib/tasks/migrate/schema_check.rake b/lib/tasks/migrate/schema_check.rake
index ea4131d8bc2..76f1f23c7bd 100644
--- a/lib/tasks/migrate/schema_check.rake
+++ b/lib/tasks/migrate/schema_check.rake
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-desc 'Configures the database by running migrate, or by loading the schema and seeding if needed'
+# Configures the database by running migrate, or by loading the schema and seeding if needed
task schema_version_check: :environment do
next if ENV['SKIP_SCHEMA_VERSION_CHECK']