mirror of
https://github.com/langgenius/dify.git
synced 2025-11-30 21:06:48 +00:00
fix(command): The vdb migrate command cannot be stopped (#27536)
This commit is contained in:
parent
0e62a66cc2
commit
e60a7c7143
@ -321,6 +321,8 @@ def migrate_knowledge_vector_database():
|
||||
)
|
||||
|
||||
datasets = db.paginate(select=stmt, page=page, per_page=50, max_per_page=50, error_out=False)
|
||||
if not datasets.items:
|
||||
break
|
||||
except SQLAlchemyError:
|
||||
raise
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user