full-stack-fastapi-template
full-stack-fastapi-template copied to clipboard
Take POSTGRES_PORT in consideration in alembic migrations
In some unusual setups (cloud managed databases, yay!) the default port is not used for the postgres database.
This fixes a bug in the alembic template, to properly include the content of POSTGRES_PORT in the PostgresDSN
We need this as mentioned in #329
Thank you! :rocket:
I updated it to align it with the rest of the current code and it's now ready. :nerd_face: