Add pegtxid and pegindex data to federation_txos table

This commit is contained in:
natsee
2024-01-21 12:46:07 +01:00
parent 4b10e32e73
commit de2842b62a
2 changed files with 8 additions and 6 deletions

View File

@@ -839,6 +839,8 @@ class DatabaseMigration {
unspent tinyint(1) NOT NULL,
lastblockupdate int(11) unsigned NOT NULL,
lasttimeupdate int(11) unsigned NOT NULL,
pegtxid varchar(65) NOT NULL,
pegindex int(11) NOT NULL,
PRIMARY KEY (txid, txindex),
FOREIGN KEY (bitcoinaddress) REFERENCES federation_addresses (bitcoinaddress)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;`;