Files
ukmesh/docs/deferred-migrations/README.md

1.2 KiB

Deferred migrations

The original deferral notes below are historical. The current runtime chain contains 061_node_status_sample_status.sql; verify the actual deployment ledger independently before choosing an upgrade path.

Migrations in this directory are not part of the applied migration chain and are not copied into the runtime image's migration directory. They are kept here so contributor work is not lost while the live deployment remains the schema of record.

057_node_status_sample_status.sql

  • Source: main (PR #114, re-landed 2026-10-03).
  • Content: ALTER TABLE node_status_samples ADD COLUMN IF NOT EXISTS status TEXT;
  • Why deferred: the live database (60-row ledger) does not have this migration applied and the node_status_samples.status column does not exist. Including it at 057 would have collided with 057_region_scope_participation.sql and changed the schema on the next deploy.
  • Reconciliation 2026-10-25: the identical SQL is present as 061_node_status_sample_status.sql; the live read-only ledger confirms 061 is already applied with its repository checksum. Keep this historical copy outside the runtime chain. See docs/reviews/20261025-merge-ledger.md.