mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
A migration container starts empty, so applying 0281 there proves the statements parse and nothing else — the backfill's WHERE matches no rows and a broken expression passes green. Every self-hoster runs it against rows that do carry a leg, and those are the only rows it exists for. Seed the pre-migration shape, run the migration's own UPDATE read out of the committed file, and assert an attributed row comes out still knowing which leg broke, an unattributed one is left alone, and a second run does not nest the array.