feat: add webhook + webhook_log models

This commit is contained in:
Zhi
2026-02-22 02:40:57 +00:00
parent 2982164bd9
commit 149f2d868f
2 changed files with 41 additions and 0 deletions

View File

@@ -248,6 +248,7 @@ def get_user(user_id: int, db: Session = Depends(get_db)):
@app.on_event("startup")
def startup():
from app.core.config import Base, engine
from app.models import webhook
Base.metadata.create_all(bind=engine)