Move generating migration names to DirRepository