Cleaning up db configuration