mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
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. |
||
|---|---|---|
| .. | ||
| migsets | ||
| sqlc | ||
| sqlcmig6 | ||
| tombstone | ||
| interfaces.go | ||
| log.go | ||
| migrations.go | ||
| postgres.go | ||
| postgres_fixture.go | ||
| schemas.go | ||
| sqlerrors.go | ||
| sqlite.go | ||