tiangolo / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
24.44k stars 4.12k forks source link

🔧 Reuse database url from config in alembic setup #1229

Open patrick91 opened 3 weeks ago

patrick91 commented 3 weeks ago

This PR changes alembic's env file to reuse database settings defined in app.core.config 😊

I've also taken the opportunity to allow having an empty POSTGRES_PASSWORD, when I develop locally I use https://postgresapp.com/ which creates a db without a password by default 😊