~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
Fix table creation bug.
Daniel Pettifc53921320fa
diff --git a/src/local_deep_research/web/database/migrations.py b/src/local_deep_research/web/database/migrations.pyindex 4c1758512a..200dfba654 100644--- a/src/local_deep_research/web/database/migrations.py+++ b/src/local_deep_research/web/database/migrations.py@@ -1,14 +1,8 @@from loguru import logger-from sqlalchemy import inspectfrom ..services.settings_manager import SettingsManagerfrom .models import (Base,- Journal,- Setting,- ResearchLog,- Research,- ResearchHistory,)@@ -46,26 +40,7 @@ def run_migrations(engine, db_session=None):db_session: Optional SQLAlchemy session"""# Create all tables if they don't exist- inspector = inspect(engine)- if not inspector.has_table("settings"):- logger.info("Creating settings table")- Base.metadata.create_all(engine, tables=[Setting.__table__])-- if not inspector.has_table(Journal.__tablename__):- logger.info("Creating journals table.")- Base.metadata.create_all(engine, tables=[Journal.__table__])-- if not inspector.has_table(ResearchLog.__tablename__):- logger.info("Creating research logs table.")- Base.metadata.create_all(engine, tables=[ResearchLog.__table__])-- if not inspector.has_table(Research.__tablename__):- logger.info("Creating research table.")- Base.metadata.create_all(engine, tables=[Research.__table__])-- if not inspector.has_table(ResearchHistory.__tablename__):- logger.info("Creating research table.")- Base.metadata.create_all(engine, tables=[ResearchHistory.__table__])+ Base.metadata.create_all(engine)# Import existing settings from filesif db_session:diff --git a/src/local_deep_research/web/database/schema_upgrade.py b/src/local_deep_research/web/database/schema_upgrade.pyindex bf32683416..19900626c2 100644--- a/src/local_deep_research/web/database/schema_upgrade.py+++ b/src/local_deep_research/web/database/schema_upgrade.py@@ -87,35 +87,6 @@ def create_research_strategy_table(engine):return False-def create_benchmark_tables(engine):- """- Create benchmark tables if they don't exist-- Args:- engine: SQLAlchemy engine-- Returns:- bool: True if operation was successful, False otherwise- """- try:- from .benchmark_schema import create_benchmark_tables_simple-- inspector = inspect(engine)-- # Check if benchmark tables already exist- if not inspector.has_table("benchmark_runs"):- # Create all benchmark tables using simple schema- create_benchmark_tables_simple(engine)- logger.info("Successfully created benchmark tables")- return True- else:- logger.info("Benchmark tables already exist, no action needed")- return True- except Exception:- logger.exception("Error creating benchmark tables")- return False--def create_rate_limiting_tables(engine):"""Create rate limiting tables if they don't exist@@ -490,9 +461,6 @@ def run_schema_upgrades():# 2. Create research_strategies tablecreate_research_strategy_table(engine)- # 3. Create benchmark tables- create_benchmark_tables(engine)-# 4. Create rate limiting tablescreate_rate_limiting_tables(engine)