lightning-terminal/db
Viktor Torstensson 68718a5c59
multi: Don't backup Sqlite database file on mig
As the SQL migrations prior to the kvdb to SQL migration was never live
in production, we can safely assume that the sql database is empty prior
to the kvdb to sql migration.

Therefore, it is not necessary that we create an backup of the sqlite
database for every migration that exists for the time being.
As the sqldb/v2 intentionally doesn't delete the backup file when a
migration has been completed (as this is intentional behaviour for tapd)
and the package so far doesn't support any option to delete the backup
file, this otherwise creates multiple unnecessary backup files for
users.

Once the sqldb/v2 does support making deletion of the backup file
possible, or once we add another sql migration, we need to toggle the
backup behaviour for the sql migrations on again.
2026-06-08 11:23:58 +02:00
..
migsets db: remove kvdb to sql migration from dev db stream 2026-06-08 11:23:58 +02:00
sqlc db: remove kvdb to sql migration from dev db stream 2026-06-08 11:23:58 +02:00
sqlcmig6 Merge pull request #1310 from ViktorT-11/2026-05-use-fillPlaceHolders-in-CountActions 2026-05-19 17:29:14 -07:00
tombstone multi: deprecate kvdb stores after SQL migration 2026-05-14 11:39:14 +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 multi: Don't backup Sqlite database file on mig 2026-06-08 11:23:58 +02:00
postgres.go multi: rename MigrationStream names to MigrationSet 2026-05-14 11:39:09 +02:00
postgres_fixture.go db: SQL boilerplate code 2025-01-29 16:37:20 +02:00
schemas.go multi: introduce dev migrations 2026-05-14 11:38:30 +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