增加上传列表

This commit is contained in:
18610128193
2026-06-22 14:02:56 +08:00
4 changed files with 34 additions and 7 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
from sqlalchemy import String, Text, Integer
from sqlalchemy import String, Text, Integer
from sqlalchemy.orm import Mapped, mapped_column
from app.models.base import Base, TimestampMixin, SoftDeleteMixin
@@ -26,5 +26,5 @@ class UploadTask(Base, TimestampMixin, SoftDeleteMixin):
Text, nullable=True, comment="上传备注"
)
oauth_id: Mapped[str] = mapped_column(
String(64), nullable=False, index=True,
String(64), nullable=False, index=True, comment="授权表id"
)