Commit 58bddf28 authored by Sean McGivern's avatar Sean McGivern

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
parents f03705f0 db4bd1a6
......@@ -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