mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 16:44:22 +01:00
db: Add numeric data_version counter to count modifying transactions
This counter is incremented on each dirty transaction.
This commit is contained in:
committed by
neil saitug
parent
09247d4f95
commit
4a4184be70
@@ -589,6 +589,7 @@ static struct migration dbmigrations[] = {
|
||||
" SELECT id, 11, local_feerate_per_kw FROM channels WHERE funder = 1 and local_feerate_per_kw != remote_feerate_per_kw;"),
|
||||
NULL},
|
||||
/* FIXME: Remove now-unused local_feerate_per_kw and remote_feerate_per_kw from channels */
|
||||
{SQL("INSERT INTO vars (name, intval) VALUES ('data_version', 0);"), NULL},
|
||||
};
|
||||
|
||||
/* Leak tracking. */
|
||||
|
||||
Reference in New Issue
Block a user