diff --git a/aspnetcore/data/ef-mvc/migrations.md b/aspnetcore/data/ef-mvc/migrations.md index 446f7ac52f..1972f42849 100644 --- a/aspnetcore/data/ef-mvc/migrations.md +++ b/aspnetcore/data/ef-mvc/migrations.md @@ -99,7 +99,7 @@ If you created the initial migration when the database already exists, the datab Migrations creates a *snapshot* of the current database schema in *Migrations/SchoolContextModelSnapshot.cs*. When you add a migration, EF determines what changed by comparing the data model to the snapshot file. -When deleting a migration, use the [dotnet ef migrations remove](/ef/core/miscellaneous/cli/dotnet#dotnet-ef-migrations-remove) command. `dotnet ef migrations remove` deletes the migration and ensures the snapshot is correctly reset. +Use the [dotnet ef migrations remove](/ef/core/miscellaneous/cli/dotnet#dotnet-ef-migrations-remove) command to remove a migration. `dotnet ef migrations remove` deletes the migration and ensures the snapshot is correctly reset. If `dotnet ef migrations remove` fails, use `dotnet ef migrations remove -v` to get more information on the failure. See [EF Core Migrations in Team Environments](/ef/core/managing-schemas/migrations/teams) for more information about how the snapshot file is used.