ruff fixes
This commit is contained in:
parent
c1d67c9437
commit
259e697d2f
1 changed files with 1 additions and 1 deletions
|
|
@ -786,7 +786,7 @@ async def main():
|
||||||
|
|
||||||
# Run Alembic migrations from the main cognee directory where alembic.ini is located
|
# Run Alembic migrations from the main cognee directory where alembic.ini is located
|
||||||
print("Running database migrations...")
|
print("Running database migrations...")
|
||||||
|
|
||||||
# Detect if we're in Docker (alembic.ini in /app) or local (alembic.ini in parent dir)
|
# Detect if we're in Docker (alembic.ini in /app) or local (alembic.ini in parent dir)
|
||||||
if os.path.exists("/app/alembic.ini"):
|
if os.path.exists("/app/alembic.ini"):
|
||||||
# Docker environment - use explicit config path
|
# Docker environment - use explicit config path
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue