Correct MediaObjImgDownload FK to use MediaObjImg UUID PK instead of composite key

Fixkamo-shared-library
Shipped
March 24, 2026 at 5:55 AM UTC
Author
Kamo
Commit
38e6713

The composite FK (OBJ_ID, IMG_ID) referenced non-PK columns causing a type mismatch (uuid vs int). Changed to single FK on OBJ_IMG_ID referencing MediaObjImg.ID (UUID PK).

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing