add db config
probably borked