pub fn database_url_with_base( config: &CliConfig, cwd: Option<&Path>, ) -> Result<String, DbCliError>