Skip to content

Commit

Permalink
Debugging db
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Meyers committed May 5, 2024
1 parent 266f467 commit ce3df9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/database/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
SQLALCHEMY_DATABASE_URL = settings.db_url

# TODO remove check_same_thread when using pg
engine = create_engine(SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False})
engine = create_engine(SQLALCHEMY_DATABASE_URL) # , connect_args={"check_same_thread": False})
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)

Base = declarative_base()

0 comments on commit ce3df9d

Please sign in to comment.