From d2251736a2ec8a355d83ef9d921918c050e5935e Mon Sep 17 00:00:00 2001 From: Jakob Wennberg Date: Mon, 24 Aug 2026 16:09:16 +0200 Subject: [PATCH] fix(migrations): reconcile agi_tax_payment_format_pain001 to its applied version 20260824133122 (#1857) Two repo migrations shared version 20260824120000 (#1829's match_batch_allocate_ore_settlement and #1845's agi_tax_payment_format_pain001). Prod's schema_migrations shows the AGI one applied as 20260824133122, so the repo had an orphan on prod and a duplicate version locally. Every Supabase preview branch since then fails with "duplicate key value violates unique constraint schema_migrations_pkey (20260824120000)" (seen on #1852). Content is untouched; only the filename now matches the version prod actually recorded, per the never-leave-remote-ahead rule. Claude-Session: https://claude.ai/code/session_01ScVhg6XsDtNXkiEQNV7LaZ Co-authored-by: Jakob Wennberg <311770904+jakobwennberg-oss@users.noreply.github.com> Co-authored-by: Claude Fable 5 --- ...n001.sql => 20260824133122_agi_tax_payment_format_pain001.sql} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename supabase/migrations/{20260824120000_agi_tax_payment_format_pain001.sql => 20260824133122_agi_tax_payment_format_pain001.sql} (100%) diff --git a/supabase/migrations/20260824120000_agi_tax_payment_format_pain001.sql b/supabase/migrations/20260824133122_agi_tax_payment_format_pain001.sql similarity index 100% rename from supabase/migrations/20260824120000_agi_tax_payment_format_pain001.sql rename to supabase/migrations/20260824133122_agi_tax_payment_format_pain001.sql