补齐订单游标复合索引

This commit is contained in:
Christ committed 2026-08-15 16:03:03 +08:00
1 parent ac57a354ee
commit 8dbe2d6616
5 files changed
+45

No files matched your search

@@ -0,0 +1,5 @@
-- +goose Up
CREATE INDEX IF NOT EXISTS idx_orders_cursor ON orders(cookie_id, deleted_at, created_at DESC, order_id DESC);
-- +goose Down
DROP INDEX IF EXISTS idx_orders_cursor;