Add the db config to the main config file.