Skip to content

Commit

Permalink
fix typo (#5866)
Browse files Browse the repository at this point in the history
  • Loading branch information
mairaw authored and scottaddie committed Apr 4, 2018
1 parent 37fffb7 commit 5c72ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aspnetcore/data/ef-rp/migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Use **SQL Server Object Explorer** to inspect the DB. Notice the addition of an

Run the app and verify that everything works.

## Appling migrations in production
## Applying migrations in production

We recommend production apps should **not** call [Database.Migrate](https://docs.microsoft.com/dotnet/api/microsoft.entityframeworkcore.relationaldatabasefacadeextensions.migrate?view=efcore-2.0#Microsoft_EntityFrameworkCore_RelationalDatabaseFacadeExtensions_Migrate_Microsoft_EntityFrameworkCore_Infrastructure_DatabaseFacade_) at application startup. `Migrate` shouldn't be called from an app in server farm. For example, if the app has been cloud deployed with scale-out (multiple instances of the app are running).

Expand Down

0 comments on commit 5c72ff3

Please sign in to comment.