diff --git a/cognee/run_migrations.py b/cognee/run_migrations.py index c08c0fc41..f8fd3b189 100644 --- a/cognee/run_migrations.py +++ b/cognee/run_migrations.py @@ -34,7 +34,7 @@ async def run_migrations(): ) migration_result = subprocess.run( - ["alembic", "upgrade", "head"], + ["python", "-m", "alembic", "upgrade", "head"], capture_output=True, text=True, cwd=Path(package_root),