From a0875d5ed9af831aec4f15377ae4ceb720724ae0 Mon Sep 17 00:00:00 2001 From: Francis Irving Date: Thu, 16 Sep 2010 14:40:23 +0100 Subject: Scripts to fill and clear caches updated. --- script/clear-caches | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/clear-caches') diff --git a/script/clear-caches b/script/clear-caches index 01ea95edc..63e9a979d 100755 --- a/script/clear-caches +++ b/script/clear-caches @@ -4,7 +4,7 @@ LOC=`dirname $0` -$LOC/runner "ActiveRecord::Base.connection.execute(\"update incoming_messages set cached_attachment_text_clipped = null, cached_main_body_text = null\")" +$LOC/runner "ActiveRecord::Base.connection.execute(\"update incoming_messages set cached_attachment_text_clipped = null, cached_main_body_text_unfolded = null, cached_main_body_text_folded = null\")" # Remove page cache (do it in two stages so live site gets cache cleared faster) rm -fr $LOC/../old-cache -- cgit v1.2.3