lightning-terminal/db
Viktor Torstensson 9016bbb3d2
multi: confirm kvdb migration at startup
Prompt before automatically migrating legacy kvdb state to SQL when
litd starts with a SQL backend and active bbolt data is still present.

Detect prior migrations by checking for the SQL tombstone marker so
already-migrated stores can start without prompting. Add unit coverage
for the prompt flow and wire stdin through the itest harness so the
migration restart path can acknowledge the prompt automatically.
2026-06-08 21:11:51 +02:00
..
migsets multi: ensure kvdb -> SQL mig uses correct db folders 2026-06-08 11:23:59 +02:00
sqlc Merge pull request #1305 from ViktorT-11/2026-05-sql-migration-in-prod 2026-06-08 21:08:16 +02:00
sqlcmig6 multi: preserve macaroon recipe order in SQL 2026-06-08 17:21:03 +02:00
tombstone multi: confirm kvdb migration at startup 2026-06-08 21:11:51 +02:00
interfaces.go multi: remove unused db code 2026-05-14 11:37:52 +02:00
log.go multi: update LND and friends 2025-03-26 09:20:52 -05:00
migrations.go multi: Don't backup Sqlite database file on mig 2026-06-08 11:23:58 +02:00
postgres.go multi: rename MigrationStream names to MigrationSet 2026-05-14 11:39:09 +02:00
postgres_fixture.go db: SQL boilerplate code 2025-01-29 16:37:20 +02:00
schemas.go multi: introduce dev migrations 2026-05-14 11:38:30 +02:00
sqlerrors.go db: SQL boilerplate code 2025-01-29 16:37:20 +02:00
sqlite.go multi: remove unused db code 2026-05-14 11:37:52 +02:00