Migrate repository