FIX: Expire theme cache after remap

FIX: Expire theme cache after remap

diff --git a/lib/remap.rb b/lib/remap.rb
index 45755fb..47731c1 100644
--- a/lib/remap.rb
+++ b/lib/remap.rb
@@ -35,6 +35,8 @@ WHERE table_schema='public' and (data_type like 'char%' or data_type like 'text%
 
       log "#{result.cmd_tuples} rows affected!"
     end
+
+    Theme.expire_site_cache!
   end
 
   def log(message)

GitHub sha: a6617a63

2 Likes