We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97bbcf1 commit b9861deCopy full SHA for b9861de
1 file changed
fastapi_forge/template/{{cookiecutter.project_name}}/src/main.py
@@ -49,7 +49,9 @@ def get_app() -> FastAPI:
49
logger.info(
50
settings.model_dump_json(indent=2),
51
)
52
-
+ {% if cookiecutter.use_alembic %}
53
+ logger.info("Alembic enabled - see Makefile for migration commands")
54
+ {% endif %}
55
app = FastAPI(lifespan=lifespan)
56
add_middleware(app)
57
app.include_router(base_router)
0 commit comments