Skip to content

Commit

Permalink
explicitly migrate the test DB
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Sep 11, 2024
1 parent e3e995b commit 5dfc101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theforeman.org/pipelines/lib/foreman.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def configureDatabase(ruby) {
bundleExec(ruby, 'rake db:drop >/dev/null 2>/dev/null || true')
bundleExec(ruby, 'rake db:create --trace')
bundleExec(ruby, 'rake db:create --trace RAILS_ENV=production')
bundleExec(ruby, 'rake db:migrate --trace')
bundleExec(ruby, 'rake db:migrate --trace RAILS_ENV=test')
}

def cleanup(ruby) {
Expand Down

0 comments on commit 5dfc101

Please sign in to comment.