KamoCRM

Split a document into its original and its modified versions

Featurekamo-shared-library
Shipped
22 ஆகஸ்ட், 2026 அன்று 4:52 AM UTC
Author
Kamo
Commit
14c9040

imgs.modified_kind + imgs.original_img_id. Null kind means the row IS an original — the bytes a member uploaded — which is the correct reading for every row that predates this and is why neither column needs a backfill. A derived row resolves its bytes through an ImgDat rather than through original_img_id, so the reference is nullable and uncascaded on purpose: trashing an original removes its metadata, not its content, and its versions go on working.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing