Additional old `Upload#url` format for `Upload.migrate_to_new_scheme`.

Additional old Upload#url format for Upload.migrate_to_new_scheme.

diff --git a/app/models/upload.rb b/app/models/upload.rb
index 08adb83..e33dcda 100644
--- a/app/models/upload.rb
+++ b/app/models/upload.rb
@@ -281,7 +281,7 @@ class Upload < ActiveRecord::Base
             remap_scope ||= begin
-                .where("raw ~ '/uploads/#{db}/\\d+/' OR raw ~ '/uploads/#{db}/original/\\d{1}/'")
+                .where("raw ~ '/uploads/#{db}/\\d+/' OR raw ~ '/uploads/#{db}/original/(\\d|[a-z])/'")
                 .select(:raw, :cooked)

GitHub sha: be88ac8b

I think [a-f] should be enough since it’s the first character of the SHA.

Is that what the character represent? I went with [a-z] because I have no knowledge of what format the URL follows.

I guess a-z is safer but I’m pretty sure it’s the first character of the hash of the upload.