mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
9 lines
220 B
Ruby
9 lines
220 B
Ruby
# frozen_string_literal: true
|
|
|
|
# fix any bust caches post initial migration
|
|
ActiveRecord::Base.connection.tables.each do |table|
|
|
table.classify.constantize.reset_column_information rescue nil
|
|
end
|
|
|
|
SiteSetting.refresh!
|