Files
romm/backend/utils
Georges-Antoine Assi 45f2e5be95 chore(migrations): settle on one spelling for the replay guards
Give the "which columns does this table already have" set a home as
`column_names`, and define `has_column` over it: 0098, 0112 and 0123 each
spelled it inline, and 0112 paid one full reflection of `roms` per candidate
column.

Use the builtin idempotency flags wherever they reach. 0121 was the last
revision guarding a column and an index by hand, and 0122 had two code paths
emitting the same statements; both now match 0111/0126/0128.

Skip 0126's digest backfill once the column is NOT NULL, so a replay no longer
full-scans `roms` to match zero rows.

Drop the test helpers that re-derived what `_schema_of` already returns, and
collapse the four-way `has_column` parametrize, two cases of which were really
schema assertions about 0112 and 0121.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-12 19:44:15 -04:00
..
2026-09-07 14:21:14 -04:00
2026-06-28 21:48:50 -04:00
2026-07-06 22:17:56 -04:00