mirror of
https://github.com/langgenius/dify.git
synced 2025-12-23 07:47:29 +00:00
fix(command): The vdb migrate command cannot be stopped (#27536)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user