missed database config in legacy tasks