diff --git a/surfsense_backend/alembic/versions/49_migrate_old_chats_to_new_chat.py b/surfsense_backend/alembic/versions/49_migrate_old_chats_to_new_chat.py index 50924ab65..61a3ddb48 100644 --- a/surfsense_backend/alembic/versions/49_migrate_old_chats_to_new_chat.py +++ b/surfsense_backend/alembic/versions/49_migrate_old_chats_to_new_chat.py @@ -95,7 +95,7 @@ def upgrade() -> None: thread_title = title or "Migrated Chat" if len(thread_title) > 500: thread_title = thread_title[:497] + "..." - + result = connection.execute( sa.text(""" INSERT INTO new_chat_threads diff --git a/surfsense_backend/alembic/versions/53_cleanup_old_llm_configs.py b/surfsense_backend/alembic/versions/53_cleanup_old_llm_configs.py index 0845a5093..22f48c3ab 100644 --- a/surfsense_backend/alembic/versions/53_cleanup_old_llm_configs.py +++ b/surfsense_backend/alembic/versions/53_cleanup_old_llm_configs.py @@ -209,4 +209,3 @@ def downgrade(): END$$; """ ) -