Update model.md (#12341)
parent
bb05b407b3
commit
ae3d90570d
|
@ -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>.
|
||||
|
|
Loading…
Reference in New Issue