Update model.md (#12341)

pull/12353/head
Rick Anderson 2019-05-08 11:42:41 -10:00 committed by GitHub
parent bb05b407b3
commit ae3d90570d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -204,8 +204,12 @@ The name of the connection string is passed in to the context by calling a metho
# [Visual Studio Code](#tab/visual-studio-code)
Examine the `Up` method.
# [Visual Studio for Mac](#tab/visual-studio-mac)
Examine the `Up` method.
---
The `Add-Migration` command generates code to create the initial database schema. The schema is based on the model specified in the `RazorPagesMovieContext` (In the *Data/RazorPagesMovieContext.cs* file). The `Initial` argument is used to name the migrations. Any name can be used, but by convention a name that describes the migration is used. For more information, see <xref:data/ef-mvc/migrations>.