Skip to content

Commit bd09d3f

Browse files
NG85Mini256
andauthored
fix: incorrect column name (#639)
Co-authored-by: Mini256 <minianter@foxmail.com>
1 parent cc14bfa commit bd09d3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/app/rag/chat/chat_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ def check_rag_config_need_migration(session: Session) -> NeedMigrationStatus:
243243
.where(ChatEngine.deleted_at == None)
244244
.where(
245245
text(
246+
"JSON_EXTRACT(engine_options, '$.knowledge_base.linked_knowledge_bases') IS NULL AND "
246247
"JSON_EXTRACT(engine_options, '$.knowledge_base.linked_knowledge_base') IS NULL"
247248
)
248249
)

0 commit comments

Comments
 (0)