Expand description
The files each page-history version’s private specs reference.
Append-only, because history is. A restore has to be able to bring back a version whose specs
name these files, so recording them here keeps crate::exercise_spec_uploads’ reaper away
from a file for as long as any snapshot names it.
Only the private specs’: a restore re-derives the other two, so an old version’s derived files are never brought back.
Functions§
- insert_
many - Records the files the private specs of one history version name. Duplicates within
file_upload_idscollapse: several tasks in a page may name the same file, and one row per version and file is all a reference check needs.