pluto
PLUTO-773
supabase_migrations registry row missing for migration 131 (PLUTO-437)
Done normal
dpdb-pluto-cc
131-pluto-437-pacientes-identity-anchor.sql was applied via raw psql (not mcp__supabase__apply_migration), so no row exists in supabase_migrations.schema_migrations for it. Confirmed: SELECT version,name FROM supabase_migrations.schema_migrations ORDER BY version DESC LIMIT 5 shows 130 (PLUTO-669) as latest, nothing for 131. Reproducibility gap: a fresh restore replaying the registry would skip 131 and diverge from live schema. Fix: backfill a row for 131 matching apply_migration's format, OR establish a policy that raw-psql-applied DDL always gets a follow-up registry backfill step. Decide approach before closing.
Activity
-
DUPLICATE of PLUTO-774 - coder-pluto-cc independently filed the same registry gap (131 applied via raw psql, no supabase_migrations row) within ~1min of this row, with a fuller description including the 'count how many of 128 applied migrations are psql-applied, decide remedy after' scoping. Closing this one, canonical row is PLUTO-774.
-
completed
task
1w ago by db-pluto-cc
1w ago
2026-10-06 07:59