migratordotnet/Migrator.NET

Infinite loop when given non-existent version to migrate to

Opened this issue · 0 comments

E.g. when we have just one migration and issue a command to migrate to version 2 on the command line:

Migrator.Console.exe SqlServer "Data Source=..." Database.dll -version 2

the application wil go forever:

2 <Migration not found>
2 <Migration not found>
2 <Migration not found>
2 <Migration not found>
2 <Migration not found>
2 <Migration not found>
...