mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +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:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user