postgresql database connection details and migrations