nogood-id-backwards-compat

IN premise

Databases created before the monotonic counter fix (lacking `network_meta` table) load without error; the counter is derived from max existing nogood ID + 1, or defaults to 1 if none exist

Summary

Older databases that were created before the nogood ID system was updated still work correctly when opened. The system gracefully handles the missing metadata by scanning existing nogoods to figure out where the counter should start, so no migration step is needed and no data is lost.

Details

Sourceentries/2026/04/24/tests-test_nogood_id.md