db: add private channel inbound fields

This will be used for generating route hints rather than private gossip
This commit is contained in:
Alex Myers 2023-12-07 06:44:05 +10:30 committed by Rusty Russell
parent 014cc46328
commit c1beb4b745

View file

@ -1011,6 +1011,11 @@ static struct migration dbmigrations[] = {
{SQL("CREATE INDEX forwards_updated_idx ON forwards (updated_index)"), NULL}, {SQL("CREATE INDEX forwards_updated_idx ON forwards (updated_index)"), NULL},
{NULL, migrate_initialize_forwards_wait_indexes}, {NULL, migrate_initialize_forwards_wait_indexes},
{SQL("ALTER TABLE channel_funding_inflights ADD force_sign_first INTEGER DEFAULT 0"), NULL}, {SQL("ALTER TABLE channel_funding_inflights ADD force_sign_first INTEGER DEFAULT 0"), NULL},
{SQL("ALTER TABLE channels ADD remote_feerate_base INTEGER DEFAULT NULL;"), NULL},
{SQL("ALTER TABLE channels ADD remote_feerate_ppm INTEGER DEFAULT NULL;"), NULL},
{SQL("ALTER TABLE channels ADD remote_cltv_expiry_delta INTEGER DEFAULT NULL;"), NULL},
{SQL("ALTER TABLE channels ADD remote_htlc_maximum_msat BIGINT DEFAULT NULL;"), NULL},
{SQL("ALTER TABLE channels ADD remote_htlc_minimum_msat BIGINT DEFAULT NULL;"), NULL},
}; };
/** /**