Expand description
Media — per-tenant uploaded files (images + documents).
Single table with a kind discriminator so the admin can show
two filtered views (“Media” for images, “Documents” for the
rest) over the same storage backend.
Structs§
- Media
- One row per uploaded file. Bytes live behind the per-tenant
Storagetrait, keyed bystorage_key. Resized variants live incms_media_rendition(seecrate::rendition); this table is just the upload surface. - Media
Collection - Editor-curated folder for media. Tree-shaped (
parent_idFK to self) so sites can group assets per team / per campaign / per product, with sub-folders for finer-grain organization.