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: drop and add index for mysql (#17513)
Wang Qi3297b5c7569c
diff --git a/api/db/db_models.py b/api/db/db_models.pyindex bbe693a6fb..68ed6e42f1 100644--- a/api/db/db_models.py+++ b/api/db/db_models.py@@ -1817,6 +1817,9 @@ def migrate_db():("tenant_model_instance", "idx_api_key_provider_id"),("tenant_model_instance", "tenantmodelinstance_api_key_provider_id"),("tenant_model", "idx_provider_model_instance"),+ ("compilation_template", "compilationtemplate_tenant_id_name_is_builtin_status"),+ ("compilation_template", "compilation_template_tenant_id_name_is_builtin_status"),+ ("compilation_template", "idx_compilation_template_tenant_id_name_is_builtin_status"),]for table_name, index_name in legacy_indexes:try: