fix: improve OCR indexing and evidence review
This commit is contained in:
@@ -165,6 +165,7 @@ class KnowledgeDocument(Base):
|
||||
title = Column(String(500), nullable=False)
|
||||
document_type = Column(String(80), nullable=False)
|
||||
source_hash = Column(String(64), nullable=False)
|
||||
index_version = Column(Integer, nullable=False, default=2, server_default="1")
|
||||
status = Column(String(40), default="ready")
|
||||
__table_args__ = (UniqueConstraint("course_version_id", "project_id", "submission_file_id", "source_hash"),)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user