优化目前版本中的问题

This commit is contained in:
2025-03-10 13:56:25 +08:00
parent 758082db14
commit b4b1085403
11 changed files with 211 additions and 20 deletions

View File

@ -45,6 +45,7 @@ class ProjectImage(DbCommon):
项目图片表
"""
__tablename__ = "project_image"
img_type: Mapped[str] = mapped_column(String(10))
file_name: Mapped[str] = mapped_column(String(64), nullable=False)
image_url: Mapped[str] = mapped_column(String(255), nullable=False)
thumb_image_url: Mapped[str] = mapped_column(String(255), nullable=False)