Follow up to 845b68f9abfad82226a4bd90ce3d7cecd1f99357.

diff --git a/app/models/upload.rb b/app/models/upload.rb
index 87bc14d..0453578 100644
--- a/app/models/upload.rb
+++ b/app/models/upload.rb
@@ -274,7 +274,7 @@ class Upload < ActiveRecord::Base
 
           remap_scope ||= begin
             Post.with_deleted
-              .where("raw ~ '/uploads/#{db}/\\d+/' OR raw ~ '/uploads/#{db}/original/\d{1}/'")
+              .where("raw ~ '/uploads/#{db}/\\d+/' OR raw ~ '/uploads/#{db}/original/\\d{1}/'")
               .select(:raw, :cooked)
               .all
           end

GitHub sha: 55f406bb

1 Like