perf(fulfillment): 优化本地能力选号查询与索引
This commit is contained in:
@@ -2118,7 +2118,7 @@ class AccountCommodityState(Base):
|
||||
"account_id",
|
||||
),
|
||||
Index(
|
||||
"ix_account_commodity_eligibility",
|
||||
"ix_account_commodity_candidate",
|
||||
"platform",
|
||||
"scope",
|
||||
"commodity_id",
|
||||
@@ -2126,6 +2126,8 @@ class AccountCommodityState(Base):
|
||||
"offer_state",
|
||||
"valid_until",
|
||||
"account_id",
|
||||
"last_exchange_at",
|
||||
"observed_at",
|
||||
),
|
||||
Index(
|
||||
"ix_account_commodity_account",
|
||||
|
||||
Reference in New Issue
Block a user