RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: ensure tenant_ocr_id is added (#18560)
Lynnf7a2848dd56a
diff --git a/api/db/db_models.py b/api/db/db_models.pyindex 8de942ee2c..9f2b3cd117 100644--- a/api/db/db_models.py+++ b/api/db/db_models.py@@ -2464,6 +2464,7 @@ def migrate_db():alter_db_column_type(migrator, "document", "size", BigIntegerField(default=0, index=True))alter_db_column_type(migrator, "file", "size", BigIntegerField(default=0, index=True))alter_db_add_column(migrator, "tenant", "ocr_id", CharField(max_length=128, null=True, help_text="default ocr model ID", index=True))+ alter_db_add_column(migrator, "tenant", "tenant_ocr_id", CharField(max_length=32, null=True, help_text="id in tenant_model", index=True))alter_db_column_type(migrator, "chat_channel", "status", IntegerField(default=1, index=True))alter_db_rename_column(migrator, "chat_channel", "dialog_id", "chat_id")# ---- FileCommit / FileCommitItem: artifact-page commit extension ----