修改
1、微信回调签名验证绕过问题 2、联系请求竞态条件问题 3、contact列表count过滤bug 4、核心业务表索引添加
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from sqlalchemy import String, Text, Integer
|
||||
from sqlalchemy import String, Text, Integer, Index
|
||||
from sqlalchemy.orm import Mapped, mapped_column
|
||||
|
||||
from app.models.base import Base, TimestampMixin, SoftDeleteMixin
|
||||
@@ -31,3 +31,8 @@ class UploadTask(Base, TimestampMixin, SoftDeleteMixin):
|
||||
other_info: Mapped[str | None] = mapped_column(
|
||||
String(500), nullable=True, comment="其他信息"
|
||||
)
|
||||
|
||||
__table_args__ = (
|
||||
Index('idx_upload_user_status_created', 'user_id', 'status', 'created_at'),
|
||||
Index('idx_upload_oauth_status', 'oauth_id', 'status'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user