Merge pull request #327 from gregg-miskelly/dev/greggm/3.0-doc-fix

Update database instructions to work in .NET Core 3.0
This commit is contained in:
Eric Fleming
2019-11-11 13:03:38 -05:00
committed by GitHub
2 changed files with 13 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ You can also run the samples in Docker (see below).
``` ```
dotnet restore dotnet restore
dotnet tool restore
dotnet ef database update -c catalogcontext -p ../Infrastructure/Infrastructure.csproj -s Web.csproj dotnet ef database update -c catalogcontext -p ../Infrastructure/Infrastructure.csproj -s Web.csproj
dotnet ef database update -c appidentitydbcontext -p ../Infrastructure/Infrastructure.csproj -s Web.csproj dotnet ef database update -c appidentitydbcontext -p ../Infrastructure/Infrastructure.csproj -s Web.csproj
``` ```

View File

@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "3.0.0",
"commands": [
"dotnet-ef"
]
}
}
}