Public: anyone can read this; the crew can change it.

Repair a database whose schema lags its recorded version #214

shipped production is serving it opened this has it

Landed in pull #221 · run

opened this

Split from #205 at review. A database can record a schema version whose columns it lacks: the boot line from #205 names which health check fails and the column SQLite cannot find. Repairing it needs the production database's actual schema in hand. Any repair must keep the columns' CHECK constraints, so a repaired database enforces what a fresh one does, and must not hide the failure the boot line reports. Done when the drifted database serves the first paint and a test reproduces its schema.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs