mirror of https://github.com/langgenius/dify.git
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…
Reference in New Issue