lightning-terminal/db
Viktor Torstensson 83f3e223fb
migstreams: introduce migstreams package
The upcoming kvdb to sql code migration will be added to as part of the
`sqldb/v2` migration stream. However, since the kvdb to sql migration
will need to use the migration functions present in the `accounts`,
`firewalldb`, and `session` packages, the migration will need to
referernce those packages. That would lead to a circular dependency
though if the migration stream was defined in the `db` package, as those
packages need to import the `db` package.

To avoid this, we introduce a new `migstreams` package that
contains the migration streams, and ensure that the `db` package doesn't
import the `migstreams` package.
2026-05-14 11:38:26 +02:00
..
migstreams migstreams: introduce migstreams package 2026-05-14 11:38:26 +02:00
sqlc sqlc: remove UpdateAccountAliasForTests query 2026-05-14 11:38:18 +02:00
sqlcmig6 sqlcmig6: add transaction executor for Queries 2026-05-14 11:38:02 +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 migstreams: introduce migstreams package 2026-05-14 11:38:26 +02:00
postgres.go multi: introduce migration stream for unit tests 2026-05-14 11:38:24 +02:00
postgres_fixture.go db: SQL boilerplate code 2025-01-29 16:37:20 +02:00
schemas.go db: export the embed.FS SqlSchemas 2026-05-14 11:38:21 +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