discourse/db/fixtures/001_refresh.rb

4 lines
150 B
Ruby
Raw Normal View History

# fix any bust caches post initial migration
2019-05-06 21:27:05 -04:00
ActiveRecord::Base.public_send(:subclasses).each { |m| m.reset_column_information }
SiteSetting.refresh!