sqldb/sqlc: add zombie index table

Note that this table will only contain entries for channels that we have
deleted from the `channels` table which is why we cannot use foreign
keys. Similarly, we may no longer have node entries for the nodes in the
table.
This commit is contained in:
Elle Mouton committed 2025-06-24 18:35:19 +02:00
1 parent cee872ad0e
commit c648c7a22d
3 files changed
+38 -1

No files matched your search

+7
View File
@@ -184,3 +184,10 @@ type NodeFeature struct {
type SourceNode struct {
NodeID int64
}
type ZombieChannel struct {
Scid []byte
Version int16
NodeKey1 []byte
NodeKey2 []byte
}