mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
### What problem does this PR solve? The last column definition `INDEX idx_instance_id (instance_id),` in the `CREATE TABLE tenant_model` statement has a trailing comma, which causes a MySQL syntax error during deployment. Closes #15832 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) ### How was this tested? - [x] Visual inspection: the trailing comma on line 837 has been removed
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user