feat:增加知识库文件字段

This commit is contained in:
2026-07-28 22:58:32 +08:00
parent 0e9bde9a14
commit 613eed541f
7 changed files with 93 additions and 43 deletions

View File

@@ -11,6 +11,7 @@ class LibraryFile(AuditBase):
name = Column(String(45), nullable=False)
type = Column(String(45), nullable=False)
size = Column(Integer, nullable=False)
content = Column(Text, nullable=False)
questions = relationship(
"LibraryFileQuestion",