discourse/db/fixtures/001_refresh.rb
2019-05-07 09:33:21 +08:00

4 lines
150 B
Ruby

# fix any bust caches post initial migration
ActiveRecord::Base.public_send(:subclasses).each { |m| m.reset_column_information }
SiteSetting.refresh!