📝 Update README
continuous-integration/drone/push Build is passing Details

pull/185/head
Alexis Drai 2 years ago
parent 6dc90b103c
commit 0050836358

@ -37,8 +37,9 @@ First, in Visual Studio's terminal ("Developer PowerShell"), go to *DiceApp/Sour
dotnet tool install --global dotnet-ef
dotnet tool update --global dotnet-ef
```
Now the migrations and DB. Since we have a `DiceAppDbContext` *and* and `DiceAppDbContextWithStub`, you will need to specify which one to use. Make sure you are in *DiceApp/Sources/Data*.
Now the migrations and DB. Since we have a `DiceAppDbContext` *and* and `DiceAppDbContextWithStub`, you will need to specify which one to use.
```
cd Data
dotnet ef migrations add dice_app_db --context DiceAppDbContextWithStub
dotnet ef database update --context DiceAppDbContextWithStub --startup-project ../App
```

Loading…
Cancel
Save