updated database config to better handle oci and local file dbs