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: allow recreating deleted template groups (#17915)
buua436dced12251a15
diff --git a/api/db/db_models.py b/api/db/db_models.pyindex 1eb2a7a7af..ce9406cc3f 100644--- a/api/db/db_models.py+++ b/api/db/db_models.py@@ -1183,7 +1183,6 @@ class CompilationTemplateGroup(DataBaseModel):class Meta:db_table = "compilation_template_group"- indexes = ((("tenant_id", "name", "status"), True),)class Search(DataBaseModel):@@ -1825,6 +1824,9 @@ def migrate_db():("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"),+ ("compilation_template_group", "compilationtemplategroup_tenant_id_name_status"),+ ("compilation_template_group", "compilation_template_group_tenant_id_name_status"),+ ("compilation_template_group", "idx_compilation_template_group_tenant_id_name_status"),]for table_name, index_name in legacy_indexes:try: