improvement for latest migration id calculation
1 file changed