added a database config for partial hosting