diff --git a/assist-stats/main.py b/assist-stats/main.py index c47594855..70f03b1a2 100644 --- a/assist-stats/main.py +++ b/assist-stats/main.py @@ -41,16 +41,6 @@ SessionLocal = sessionmaker( Base = declarative_base() -@app.on_event("startup") -def startup_db_client(): - Base.metadata.create_all(bind=engine) - - -@app.on_event("shutdown") -def shutdown_db_client(): - engine.dispose() - - def get_db(): db = SessionLocal() try: