Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
chen-tf committed Mar 4, 2024
1 parent d778396 commit 98131f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repository/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
pool_pre_ping=True,
pool_recycle=1200,
)
print(
f"postgresql://{pt_config.DB_USER}:{pt_config.DB_PASSWORD}@{pt_config.DB_HOST}:{pt_config.DB_PORT}/{pt_config.DB_NAME}")
Session = scoped_session(sessionmaker(bind=eng, expire_on_commit=False))
Base = declarative_base()

Expand Down

0 comments on commit 98131f2

Please sign in to comment.