mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +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
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,8 @@ char *dbmigrations[] = {
|
|||
"DELETE FROM peers WHERE id NOT IN (SELECT peer_id FROM channels);",
|
||||
/* The ONCHAIND_CHEATED/THEIR_UNILATERAL/OUR_UNILATERAL/MUTUAL are now one */
|
||||
"UPDATE channels SET STATE = 8 WHERE state > 8;",
|
||||
/* Add bolt11 to invoices table*/
|
||||
"ALTER TABLE invoices ADD bolt11 TEXT;",
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue