Restore old attachment migration