mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
Avoid creating legacy bbolt database files when the kvdb-to-SQL programmatic migration runs on a node that never had LiT kvdb state. Note that we only skip the creating the database file if there is no single bbolt database file. If for example there's only 1 existing bbolt database file, we will still create the new bbolt database file for the other 2 bbolt databases, as we for example need to pass the accounts & session databases to the firewalldb migration, and we'd want to avoid having the migrations become more complex by having to handle the case where the other databases are missing. |
||
|---|---|---|
| .. | ||
| migsets | ||
| sqlc | ||
| sqlcmig6 | ||
| tombstone | ||
| interfaces.go | ||
| log.go | ||
| migrations.go | ||
| postgres.go | ||
| postgres_fixture.go | ||
| schemas.go | ||
| sqlerrors.go | ||
| sqlite.go | ||