fastapi-sqlmodel-alembic
fastapi-sqlmodel-alembic copied to clipboard
init_db() not called during startup?
I noticed that in the article init_db was being called in main.py but in the current version that's not happening. I combed through all the files figuring out if i missed it somewhere. Is there a reason or was just missed?
@app.on_event("startup")
async def on_startup():
await init_db()
Isn't init_db() removed in favor of using alembic?