feat(finance): add daily paid order count

This commit is contained in:
yml2213
2026-08-10 13:42:40 +08:00
parent 89bf5f30ba
commit 6ddd7b664c
6 changed files with 109 additions and 1 deletions
@@ -0,0 +1,9 @@
-- +goose Up
ALTER TABLE payment_orders
ADD KEY idx_payment_orders_biz_status_paid_at_order (biz_type, status, paid_at, order_id);
-- +goose Down
ALTER TABLE payment_orders
DROP KEY idx_payment_orders_biz_status_paid_at_order;