Skip to content

Populate `uploads` table

We added the uploads table in 9.0 to track all new attachments, but old attachments are still not included.

To support Geo (and other features), we'll want a way to crawl the filesystem and add files that are not in the DB. Keep in mind we need to do this at scale, so doing a file-by-file comparison in the DB may not be the best approach.