fix: align dashboard charts with customer billing and history coverage

This commit is contained in:
elky
2026-10-09 21:53:43 +08:00
parent 63520c8c27
commit 6b6d5b3a85
19 changed files with 1561 additions and 153 deletions
@@ -0,0 +1,3 @@
-- PostgreSQL 15/16 cannot enter the function's EXCEPTION subtransactions in a
-- parallel operation. Keep its validation and immutable amount semantics intact.
ALTER FUNCTION public.usage_customer_billable_amount(jsonb, numeric, numeric) PARALLEL UNSAFE;