Swap uploads to partitioned table

Completes the uploads table partitioning migration by swapping the partitioned table (uploads_9ba88c4165) into place as the primary uploads table. This enables per-model-type partitioning for improved query performance and supports cell-local sharding.

  • Add post-migration to replace uploads with uploads_9ba88c4165
  • Rename original table to uploads_archived
  • Update table documentation and schema references

Related to #398199 (closed)

Changelog: other

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tomasz Skorupa

Merge request reports

Loading