Drop the dead fee_ore column from the year query
This commit is contained in:
1 parent
32d4cb0641
commit
6b87818eef
1 file changed
+1
-1
@@ -32,7 +32,7 @@ def _year_rows(conn, year):
|
||||
"""The year's transactions with the cost basis each one consumed."""
|
||||
return conn.execute(
|
||||
"SELECT t.id, t.market_id, t.type, t.taxable, t.leg_in_ore, t.leg_out_ore,"
|
||||
" t.leg_out_sats, t.value_ore, t.fee_ore,"
|
||||
" t.leg_out_sats, t.value_ore,"
|
||||
" COALESCE(SUM(c.cost_ore), 0) AS cost_ore"
|
||||
" FROM transactions t LEFT JOIN lot_consumptions c ON c.tx_id = t.id"
|
||||
" WHERE t.date >= ? AND t.date <= ?"
|
||||
|
||||
Reference in new issue
Block a user