discourse/db
Sam 894b98685b FIX: old migration was loading up invalid model schema
Generally we should never be touching AR objects in migrations, this is
super risky as we may end up with invalid schema cache.

This code from 2013 did it unconditionally. This change amends it so:

1. We only load up schema if we have no choice
2. We flush the cache before and after

This makes this migration far less risky.
2019-02-07 10:08:29 -05:00
..
fixtures FIX: Badges appeared in wrong badge group 2019-01-21 21:09:33 +01:00
migrate FIX: old migration was loading up invalid model schema 2019-02-07 10:08:29 -05:00
post_migrate DEV: Minor fixes to b63b399799. 2019-01-10 09:38:22 +08:00
api_test_seeds.rb Updates api_test_seeds for multiple auth_token support (#5414) 2017-12-09 08:56:11 +11:00