clean up migration templates.