Add database cleanup tasks to source