Skip to content

Commit

Permalink
no echo
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Sep 22, 2023
1 parent 1a1c43d commit f4e77d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/database/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from src.core.config import settings

# Create an async SQLAlchemy engine
engine = create_async_engine(settings.DATABASE_URL, echo=True)
engine = create_async_engine(settings.DATABASE_URL, echo=(settings.ENV == "PRD"))

# Create a session factory
SessionFactory = sessionmaker(
Expand Down

0 comments on commit f4e77d4

Please sign in to comment.