ruff fixes

This commit is contained in:
vasilije 2025-08-03 13:12:19 +02:00
parent c1d67c9437
commit 259e697d2f

View file

@ -786,7 +786,7 @@ async def main():
# Run Alembic migrations from the main cognee directory where alembic.ini is located
print("Running database migrations...")
# Detect if we're in Docker (alembic.ini in /app) or local (alembic.ini in parent dir)
if os.path.exists("/app/alembic.ini"):
# Docker environment - use explicit config path