Is there a way I can remove DB migration from an ASP.NET Core project?
Sometimes you add a migration and realize you need to make additional changes to your EF Core model before applying it. To remove the last migration, you can use the following command.
If you already applied several migrations to the database but need to revert it, you can use the Update-Database command but also specify the name of the migration you want to roll back to.
PM> Update-Database LastGoodMigration
For better understanding of EF Core Migrations Tools, check