From 8788043d349e6e90c6ee0dbd5d845ccffe41306f Mon Sep 17 00:00:00 2001 From: bitcoinafterlife Date: Sun, 30 Mar 2025 12:34:49 -0400 Subject: [PATCH] added error column --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 2b68433..25cc4ae 100644 --- a/src/main.rs +++ b/src/main.rs @@ -317,6 +317,7 @@ async fn echo_push(whole_body: &Bytes, fn create_database(db: Connection){ info!("database sanity check"); let _ = db.execute("CREATE TABLE IF NOT EXISTS tbl_tx (txid PRIMARY KEY, wtxid, ntxid, tx, locktime integer, network, network_fees, reqid, our_fees, our_address, status integer DEFAULT 0);"); + let _ = db.execute("ALTER TABLE tbl_tx ADD COLUMN push_err TEXT"); let _ = db.execute("CREATE TABLE IF NOT EXISTS tbl_input (txid, in_txid,in_vout, spend_txidi);"); let _ = db.execute("CREATE TABLE IF NOT EXISTS tbl_output (txid, script_pubkey, address, amount);");