Skip to content

Commit a1d0cca

Browse files
galaxylqxlyingbug
authored andcommitted
Update 00-init-db.sql
fix sql execute error
1 parent ca704fa commit a1d0cca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

migrations/mysql/00-init-db.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ CREATE TABLE knowledges (
8181
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
8282
deleted_at TIMESTAMP NULL DEFAULT NULL,
8383
processed_at TIMESTAMP,
84-
error_message TEXT,
84+
error_message TEXT
8585
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
8686

8787
CREATE INDEX idx_knowledges_tenant_id ON knowledges(tenant_id, knowledge_base_id);
@@ -150,4 +150,4 @@ CREATE TABLE chunks (
150150

151151
CREATE INDEX idx_chunks_tenant_knowledge ON chunks(tenant_id, knowledge_id);
152152
CREATE INDEX idx_chunks_parent_id ON chunks(parent_chunk_id);
153-
CREATE INDEX idx_chunks_chunk_type ON chunks(chunk_type);
153+
CREATE INDEX idx_chunks_chunk_type ON chunks(chunk_type);

0 commit comments

Comments
 (0)