Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add support for setting POSTGRES_PORT #333

Merged
merged 3 commits into from Mar 12, 2024

Conversation

uepoch
Copy link
Contributor

@uepoch uepoch commented Dec 22, 2020

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

@rouralberto
Copy link

We need this as mentioned in #329

@tiangolo tiangolo changed the title Take POSTGRES_PORT in consideration in alembic migrations ✨ Add support for setting Mar 12, 2024
@tiangolo tiangolo changed the title ✨ Add support for setting ✨ Add support for setting POSTGRES_PORT Mar 12, 2024
@tiangolo tiangolo added feature New feature or request and removed investigate labels Mar 12, 2024
@tiangolo
Copy link
Owner

Thank you! 🚀

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

@tiangolo tiangolo merged commit 5ad3384 into tiangolo:master Mar 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants