관련 질문이 이미 있습니다. FluentMigrator Failed Migrations Don't Rollback? 및 Rollback to a specfic Migration in FluentMigrator. 하지만 불행히도이 솔루션으로 내 롤백 문제를 해결할 수 없습니다. 버전 데이터베이스에 FluentMigrator을 사용하고 있습니다. FluentMigrator 롤백이 작동하지 않습니다.
내 마이그레이션 코드 :using FluentMigrator;
namespace WebCruiter.Candidate.DBMigration.Migrations.R2016_6
{
[Migration(20160908000908, "USERSTORY")]
public class Migration20160908000908 : AutoReversingMigration
{
public override void Up()
{
Create.Column("TestUrl").OnTable("JobApplication").AsString(500).Nullable();
}
}
}
그리고 명령 줄에서이 버전 (20160908000908
) 롤백 내 시도 : JobApplication에서 롤백 열 없이 TestUrl을
migrate.exe -c "server=(LocalDB)\MSSQLLocalDB;Initial Catalog=Candidate;Integrated Security=True" -db sqlserver2014 -a ".\..\..\..\WebCruiter.Candidate.DBMigration\bin\Debug\FluentMigrator.dll" -t rollback:20160908000908
그것은 보여줍니다
아무도 나를 도울 수 있습니까?