a year ago
I have several projects deployed on Railway that include Postgres DB and is the first time I encounter this error. I put the variables as usual on .ENV file, but now doesn't work as usual when I try to makemigrations and migrate to my production database.
¿Something change?
makemigrations.py:160: RuntimeWarning: Got an error checking a consistent migration history performed for database connection 'default': could not translate host name "postgres.railway.internal" to address: Unknown host
Let me know if you need aditional information.
Thanks a lot.
Diego
1 Replies
a year ago
UPDATE:
I solve this issue by now... I change the variables host and port, I use the Public Networking data from Settings. Never hapent this to me before.
Then I checked my other project and the host and port from both places are equal. Only In my last project are different
Do you know why this change?
Status changed to Solved brody • about 1 year ago