mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
The kvdb accounts db is specifically set to be created in the same folder as the macaroon path, while the sessions and rules db are created in the network folder. That means that users which have set a custom macaroon path, can have an accounts db in a separate folder than the sessions and rules db. In order to ensure that the migration from kvdb to SQL uses the correct db folders, we need to make sure that the migration code uses the same logic as the creation of the db logic. |
||
|---|---|---|
| .. | ||
| migsets | ||
| sqlc | ||
| sqlcmig6 | ||
| tombstone | ||
| interfaces.go | ||
| log.go | ||
| migrations.go | ||
| postgres.go | ||
| postgres_fixture.go | ||
| schemas.go | ||
| sqlerrors.go | ||
| sqlite.go | ||