mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
Add bolt11 to the invoices db table as TEXT.
Saving in case an RPC client needs it later
This commit is contained in:
parent
e10a2b63ca
commit
2bb9797ddb
@ -200,6 +200,8 @@ char *dbmigrations[] = {
|
|||||||
"DELETE FROM peers WHERE id NOT IN (SELECT peer_id FROM channels);",
|
"DELETE FROM peers WHERE id NOT IN (SELECT peer_id FROM channels);",
|
||||||
/* The ONCHAIND_CHEATED/THEIR_UNILATERAL/OUR_UNILATERAL/MUTUAL are now one */
|
/* The ONCHAIND_CHEATED/THEIR_UNILATERAL/OUR_UNILATERAL/MUTUAL are now one */
|
||||||
"UPDATE channels SET STATE = 8 WHERE state > 8;",
|
"UPDATE channels SET STATE = 8 WHERE state > 8;",
|
||||||
|
/* Add bolt11 to invoices table*/
|
||||||
|
"ALTER TABLE invoices ADD bolt11 TEXT;",
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user