BigW Consortium Gitlab

Commit 2cec1c54 by Sean McGivern Committed by Stan Hu

Merge branch 'fix/gb/clear-schema-cache-after-running-migration-tests' into 'master'

Clear schema cache after running tests for migrations Closes #37086 See merge request !13870
parent 775cee73
......@@ -16,6 +16,8 @@ module MigrationsHelpers
end
def reset_column_in_migration_models
ActiveRecord::Base.clear_cache!
described_class.constants.sort.each do |name|
const = described_class.const_get(name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment