BIRD-Critic 1.5: fix a database-related bug in an application code base
BIRD-Critic 1.5: fix a database-related bug in an application code base: a task in dii-v1-muscle: Data Intelligence Index (DII) v1.0 Muscle (Harbor dataset). Uploads stored inside objects -type site settings and theme settings are being incorrectly cleaned up by background jobs because…
The task
Uploads stored inside `objects`-type site settings and theme settings are being incorrectly cleaned up by background jobs because `UploadReference` records are never created for them. The root cause is that the database stores upload values as URL strings, but `UploadReference.ensure_exist!` expects integer upload IDs.
Part of birdsql/dii-v1-muscle.