graph/db: migrate prune log

This commit expands the `MigrateGraphToSQL` to include migration of the
prune log.
This commit is contained in:
Elle Mouton committed 2025-07-11 09:15:47 +02:00
1 parent 63609b0801
commit 03ede9ccef
6 files changed
+252

No files matched your search

+1
View File
@@ -135,6 +135,7 @@ type SQLQueries interface {
Prune log table queries.
*/
GetPruneTip(ctx context.Context) (sqlc.PruneLog, error)
GetPruneHashByHeight(ctx context.Context, blockHeight int64) ([]byte, error)
UpsertPruneLogEntry(ctx context.Context, arg sqlc.UpsertPruneLogEntryParams) error
DeletePruneLogEntriesInRange(ctx context.Context, arg sqlc.DeletePruneLogEntriesInRangeParams) error