From e448124fab59ce562fac5db9d9919d24ac95fba7 Mon Sep 17 00:00:00 2001 From: DJ Mountney Date: Thu, 20 Jun 2019 08:50:46 -0700 Subject: Add an flag for skipping the schema version check If you chose to use the rollback migration feature on your current version for example, you should still have a way to migrate, being that you are still on a supported migration path. --- .gitlab/ci/rails.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab') diff --git a/.gitlab/ci/rails.gitlab-ci.yml b/.gitlab/ci/rails.gitlab-ci.yml index 529a0de696b..2cd40f84ec7 100644 --- a/.gitlab/ci/rails.gitlab-ci.yml +++ b/.gitlab/ci/rails.gitlab-ci.yml @@ -244,7 +244,7 @@ migration:path-pg: extends: .dedicated-no-docs-and-no-qa-pull-cache-job script: - bundle exec rake db:migrate VERSION=20170523121229 - - bundle exec rake db:migrate + - bundle exec rake db:migrate SKIP_SCHEMA_VERSION_CHECK=true dependencies: - setup-test-env -- cgit v1.2.1