diff --git a/lib/turbo_tests/runner.rb b/lib/turbo_tests/runner.rb index 1cc61939ce2..a8c09196e57 100644 --- a/lib/turbo_tests/runner.rb +++ b/lib/turbo_tests/runner.rb @@ -80,6 +80,8 @@ module TurboTests .configurations["test"] .merge("database" => "discourse_test_1") + ActiveRecord::Migrator.migrations_paths = ['db/migrate', 'db/post_migrate'] + conn = ActiveRecord::Base.establish_connection(config).connection begin ActiveRecord::Migration.check_pending!(conn)