From 4d6ea8f163d9bc2638ea7e81c2e85c54b87a9a58 Mon Sep 17 00:00:00 2001 From: Padreug Date: Fri, 9 Oct 2026 09:44:02 +0200 Subject: [PATCH] fix(ops): atm-transactions queried fee_percent, which no longer exists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The column was renamed to fee_fraction (schema_version 13), so the main query has been failing outright with "no such column: t.fee_percent" — the tool only ever worked in --summary and --inventory mode. Caught while reconciling sintra's cassettes, where listing transactions was the obvious first step and didn't work. Refs #40 --- deploy/nixos/atm-transactions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/nixos/atm-transactions.sh b/deploy/nixos/atm-transactions.sh index b234445..f15ff43 100644 --- a/deploy/nixos/atm-transactions.sh +++ b/deploy/nixos/atm-transactions.sh @@ -141,7 +141,7 @@ sql "SELECT t.fiat_cents / 100 AS 'Fiat', t.sats AS 'Sats', t.fee_sats AS 'Fee Sats', - printf('%.1f%%', t.fee_percent * 100) AS 'Fee %', + printf('%.1f%%', t.fee_fraction * 100) AS 'Fee %', CASE WHEN t.exchange_rate > 0 THEN printf('%.0f', t.exchange_rate) ELSE '-' END AS 'Rate', datetime(t.created_at / 1000, 'unixepoch') AS 'Time (UTC)', group_concat('Q' || tb.denomination || 'x' || tb.count) AS 'Bills'