diff --git a/wallet/db.c b/wallet/db.c index 85ef13638..a8a341c2e 100644 --- a/wallet/db.c +++ b/wallet/db.c @@ -120,6 +120,17 @@ char *dbmigrations[] = { " UNIQUE (label)," " UNIQUE (payment_hash)" ");", + "CREATE TABLE payments (" + " id INTEGER," + " timestamp INTEGER," + " status INTEGER," + " payment_hash BLOB," + " direction INTEGER," + " destination BLOB," + " msatoshi INTEGER," + " PRIMARY KEY (id)," + " UNIQUE (payment_hash)" + ");", NULL, };