diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1dc49ca336d56fedc87927a5334753b72e2ceb2e..85730e1b6870a7b00a19eba678570f32853723a9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -115,6 +115,11 @@ bundler:audit:
   script:
     - "bundle exec bundle-audit check --update --ignore OSVDB-115941"
 
+db-migrate-reset:
+  stage: test
+  script:
+    - RAILS_ENV=test bundle exec rake db:migrate:reset
+
 # Ruby 2.2 jobs
 
 spec:feature:ruby22: