Error : RuntimeWarning: Got an error checking a consistent migration history performed for database connection ‘default’: could not translate host name “postgres.railway.internal” to address: No such host is known.
warnings.warn(
No changes detected
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'railway',
'USER': 'postgres',
'PASSWORD': '*****************',
'HOST': 'postgres.railway.internal',
'PORT': '5432',
}
}````
Earlier the database support was made via db.sqlite by sql is not supportd by vercel for deployment so had to convert it to postgresql but this error is showing up
I do not have command over postgresql so i do not have it installed rather I have used railway.app for the purpose
New contributor
Charul Tongaria is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.