提交 58bddf28 编写于 作者: S 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
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册