新增资金出款查询与财务统计
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- +goose Up
|
||||
|
||||
ALTER TABLE rental_orders
|
||||
ADD KEY idx_rental_orders_offline_settled_at (offline_settled_at, settlement_mode, offline_settlement_status);
|
||||
|
||||
ALTER TABLE withdrawal_requests
|
||||
ADD KEY idx_withdrawal_requests_paid_at (status, paid_at);
|
||||
|
||||
-- +goose Down
|
||||
|
||||
ALTER TABLE withdrawal_requests
|
||||
DROP KEY idx_withdrawal_requests_paid_at;
|
||||
|
||||
ALTER TABLE rental_orders
|
||||
DROP KEY idx_rental_orders_offline_settled_at;
|
||||
Reference in New Issue
Block a user