diff --git a/video-gen-api/app/models/upload_task.py b/video-gen-api/app/models/upload_task.py index 9d436411..e109cdff 100644 --- a/video-gen-api/app/models/upload_task.py +++ b/video-gen-api/app/models/upload_task.py @@ -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,4 +26,5 @@ class UploadTask(Base, TimestampMixin, SoftDeleteMixin): Text, nullable=True, comment="上传备注" ) oauth_id: Mapped[str] = mapped_column( - String(64), nullable=False, index=True, \ No newline at end of file + String(64), nullable=False, index=True, comment="授权表id" + ) \ No newline at end of file