db: Add description fields to invoices and payments

This commit is contained in:
Christian Decker 2018-07-20 15:02:13 +02:00 committed by Rusty Russell
parent 55d450ff00
commit 7119a02932
1 changed files with 2 additions and 0 deletions

View File

@ -328,6 +328,8 @@ char *dbmigrations[] = {
"INSERT OR IGNORE INTO blocks (height) VALUES ((SELECT MIN(first_blocknum) FROM channels));",
"DELETE FROM blocks WHERE height IS NULL;",
/* -- End of PR #1398 -- */
"ALTER TABLE invoices ADD description TEXT;",
"ALTER TABLE payments ADD description TEXT;",
NULL,
};