discourse/config/initializers/05-site_settings.rb

8 lines
192 B
Ruby
Raw Normal View History

2013-02-25 11:42:20 -05:00
RailsMultisite::ConnectionManagement.each_connection do
begin
SiteSetting.refresh!
rescue ActiveRecord::StatementInvalid
# This will happen when migrating a new database
end
2013-02-05 14:16:51 -05:00
end