修改语法错误
This commit is contained in:
@@ -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,
|
||||
String(64), nullable=False, index=True, comment="授权表id"
|
||||
)
|
||||
Reference in New Issue
Block a user