full-stack-fastapi-template icon indicating copy to clipboard operation
full-stack-fastapi-template copied to clipboard

Take POSTGRES_PORT in consideration in alembic migrations

Open uepoch opened this issue 5 years ago • 1 comments

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

uepoch avatar Dec 22 '20 10:12 uepoch

We need this as mentioned in #329

rouralberto avatar Mar 02 '21 18:03 rouralberto

Thank you! :rocket:

I updated it to align it with the rest of the current code and it's now ready. :nerd_face:

tiangolo avatar Mar 12 '24 13:03 tiangolo