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
diff options
context:
space:
mode:
-rw-r--r--doc/update/upgrading_from_source.md2
-rw-r--r--lib/tasks/migrate/schema_check.rake2
-rw-r--r--spec/tasks/gitlab/uploads/check_rake_spec.rb2
3 files changed, 5 insertions, 1 deletions
diff --git a/doc/update/upgrading_from_source.md b/doc/update/upgrading_from_source.md
index e454f4b2c0d..023dc7d6de3 100644
--- a/doc/update/upgrading_from_source.md
+++ b/doc/update/upgrading_from_source.md
@@ -324,7 +324,7 @@ sudo -u git -H bundle install --deployment --without development test mysql aws
sudo -u git -H bundle clean
# Run database migrations
-sudo -u git -H bundle exec rake gitlab:db:configure RAILS_ENV=production
+sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
# Compile GetText PO files
diff --git a/lib/tasks/migrate/schema_check.rake b/lib/tasks/migrate/schema_check.rake
index d78599a3759..ea4131d8bc2 100644
--- a/lib/tasks/migrate/schema_check.rake
+++ b/lib/tasks/migrate/schema_check.rake
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
desc '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']
diff --git a/spec/tasks/gitlab/uploads/check_rake_spec.rb b/spec/tasks/gitlab/uploads/check_rake_spec.rb
index 5d597c66133..91f0cedb246 100644
--- a/spec/tasks/gitlab/uploads/check_rake_spec.rb
+++ b/spec/tasks/gitlab/uploads/check_rake_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'rake_helper'
describe 'gitlab:uploads rake tasks' do