discourse/db
Sam 19386ec2ea 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 15:16:28 +11: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 15:16:28 +11:00
post_migrate Drop facebook_user_infos and twitter_user_infos (#6970) 2019-02-05 15:12:39 +00:00
api_test_seeds.rb Updates api_test_seeds for multiple auth_token support (#5414) 2017-12-09 08:56:11 +11:00