Files
romm/backend
Georges-Antoine Assi 44851166a2 fix(migrations): revert 0014 idempotency guard
The guard was both unreachable and unsafe. For platforms.id to exist on
a rerun, the first attempt must have already run the atomic ADD COLUMN
id ... PRIMARY KEY, which means it passed the unguarded
drop_constraint("fk_platform_roms") at the top of upgrade(). That FK
drop has no IF EXISTS, so any rerun fails there before reaching the
guard. And if it were reachable, the preceding primary-key drop would
leave id unkeyed once the ADD COLUMN was skipped.

Keep the genuinely correct fixes (0084, 0033); leave 0014 as-is.

Generated-By: PostHog Code
Task-Id: 87d70ab6-f915-48c0-afa7-55064c97d1a5
2026-07-16 09:53:27 -04:00
..
2026-06-21 17:42:25 -04:00
2026-02-09 17:26:21 -05:00
2026-07-07 10:47:15 -04:00
2026-07-01 08:58:00 -04:00
2026-07-06 22:17:56 -04:00
2024-02-10 12:43:39 -05:00
2025-07-05 19:17:40 -04:00
2026-07-02 11:16:07 +09:00
2026-05-17 17:39:47 -04:00
2026-06-25 16:09:15 -04:00
2026-05-22 22:35:30 -04:00