perf: 添加 paid_at 索引优化 dashboard 查询性能
This commit is contained in:
@@ -46,6 +46,7 @@ model Order {
|
||||
@@index([status])
|
||||
@@index([expiresAt])
|
||||
@@index([createdAt])
|
||||
@@index([paidAt])
|
||||
@@map("orders")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user