Normalizes Ecto repo configuration and DATABASE_URL values to a stable PostgreSQL URL that is safe to pass to psql in release builds.
psql
@spec from_app(atom()) :: String.t()
@spec from_repo_config(keyword()) :: String.t()
@spec from_url(String.t()) :: String.t()