diff --git a/api/commands.py b/api/commands.py index 4a6e313d58..0aec211a2e 100644 --- a/api/commands.py +++ b/api/commands.py @@ -161,7 +161,8 @@ def migrate_annotation_vector_database(): try: # get apps info apps = ( - db.session.query(App).filter(App.status == "normal") + db.session.query(App) + .filter(App.status == "normal") .order_by(App.created_at.desc()) .paginate(page=page, per_page=50) )