wip -  db config