Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix: Remove trailing comma in CREATE TABLE tenant_model SQL (#15832) (#15836)

Ju Boxiangf0efa63bf22b
diff --git a/tools/scripts/mysql_migration.py b/tools/scripts/mysql_migration.py
index b84d9662a5..f7bc0f7e15 100644
--- a/tools/scripts/mysql_migration.py
+++ b/tools/scripts/mysql_migration.py
@@ -834,7 +834,7 @@ class TenantModelStage(MigrationStage):
create_date DATETIME,
update_time BIGINT,
update_date DATETIME,
- INDEX idx_instance_id (instance_id),
+ INDEX idx_instance_id (instance_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
"""
self.db.execute_sql(create_sql)