1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-05 18:59:22 +00:00
2013-03-13 15:15:22 +00:00

8 lines
192 B
Ruby

RailsMultisite::ConnectionManagement.each_connection do
begin
SiteSetting.refresh!
rescue ActiveRecord::StatementInvalid
# This will happen when migrating a new database
end
end