discourse/db/fixtures/001_refresh.rb

4 lines
143 B
Ruby

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