lnd/sqldb
Andras Banki-Horvath b789fb2db3
sqldb: add support for custom in-code migrations
This commit introduces support for custom, in-code migrations, allowing
a specific Go function to be executed at a designated database version
during sqlc migrations. If the current database version surpasses the
specified version, the migration will be skipped.
2025-01-23 09:10:59 +01:00
..
sqlc sqldb: add table to track custom SQL migrations 2025-01-23 09:10:59 +01:00
config.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
go.mod sqldb: update btclog dep 2024-10-26 14:18:00 +02:00
go.sum sqldb: update btclog dep 2024-10-26 14:18:00 +02:00
interfaces.go sqldb: improve serialization error handling 2024-12-12 10:40:37 -08:00
log.go sqldb: update btclog dep 2024-10-26 14:18:00 +02:00
migrations.go sqldb: add support for custom in-code migrations 2025-01-23 09:10:59 +01:00
migrations_test.go sqldb: add support for custom in-code migrations 2025-01-23 09:10:59 +01:00
no_sqlite.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
postgres.go sqldb: add support for custom in-code migrations 2025-01-23 09:10:59 +01:00
postgres_fixture.go sqldb: add support for custom in-code migrations 2025-01-23 09:10:59 +01:00
postgres_test.go sqldb: add helpers to create test DBs migrated up to a select version 2024-07-09 08:39:57 +02:00
schemas.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
sqlerrors.go sqldb: improve serialization error handling 2024-12-12 10:40:37 -08:00
sqlerrors_no_sqlite.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
sqlite.go sqldb: add support for custom in-code migrations 2025-01-23 09:10:59 +01:00
sqlite_test.go sqldb: add helpers to create test DBs migrated up to a select version 2024-07-09 08:39:57 +02:00
sqlutils.go sqldb: export sql null type helpers 2024-04-09 20:46:11 +02:00