Rollback to a specfic Migration in FluentMigrator
问题 Suppose I have crated a three Table using FluentMigrator and gave them version Number 1, 2, 3 respectively. Now Is there any way to rollback till version 2. I mean After rollback I should have Table 1 and 2 but not 3. 回答1: Here is a batch file I use with the command line runner tool @echo off if "%1" == "rollback" goto rollback if "%1" == "" goto migrate if "%1" == "version" goto version if "%1" == "down" goto down goto error :migrate migrate -db SqlServer2014 -connection "Server=[YOUR