clean up db configs