15
EF Coreを使用してASP.NET Coreで移行を適用解除する方法
PM> Remove-Migration -context BloggingContextVS2015で、EF Coreを使用してASP.NET Coreプロジェクトで実行すると、次のエラーが発生します。 System.InvalidOperationException: The migration '20160703192724_MyFirstMigration' has already been applied to the database. Unapply it and try again. If the migration has been applied to other databases, consider reverting its changes using a new migration. at Microsoft.EntityFrameworkCore.Migrations.Design.MigrationsScaffolder.RemoveMigration(String projectDir, String rootNamespace, Boolean force) at Microsoft.EntityFrameworkCore.Design.MigrationsOperations.RemoveMigration(String contextType, Boolean …