mirror of
https://github.com/acedanger/budget-database.git
synced 2025-12-05 22:50:13 -08:00
resolved error when importing records with [null, 0] transaction amounts
This commit is contained in:
@@ -35,7 +35,8 @@ select
|
|||||||
, cast(dt as date) as dt_converted
|
, cast(dt as date) as dt_converted
|
||||||
, amount
|
, amount
|
||||||
, _acct
|
, _acct
|
||||||
from public.budgetimport;
|
from public.budgetimport
|
||||||
|
where coalesce(amount, 0) <> 0;
|
||||||
|
|
||||||
end
|
end
|
||||||
$$;
|
$$;
|
||||||
|
|||||||
Reference in New Issue
Block a user