From 6301f0ce3c66c940a4dc5291038e4a82ea006b07 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Thu, 26 Dec 2019 12:09:34 -0800 Subject: [PATCH] Update migrations.md (#16324) --- aspnetcore/data/ef-mvc/migrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.