Oh, no worries! In hindsight, I probably should have noticed that myself.
You know, it’s funny…I just ran the updated query and Discourse seems to think that I don’t have any images using the old upload scheme:
[1] pry(main)> Upload.where("url NOT LIKE '//%' AND url NOT LIKE '/uploads/default/original/_X/%'").exists?
=> false
Of course, that’s despite the fact that older posts still have a lot of lines like the following in their Markdown source:
<img src="/uploads/default/247/232ac9c9d98b6458.jpg" width="536" height="500">
¯\_(ツ)_/¯
Awesome, thanks!