Improves update-databases.sh
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
dotnet build
|
||||
|
||||
dotnet ef database update \
|
||||
--project src/Infrastructure/Infrastructure.csproj \
|
||||
--startup-project src/Web/Web.csproj \
|
||||
@@ -9,14 +11,12 @@ dotnet ef database update \
|
||||
|
||||
dotnet ef database update \
|
||||
--project src/Web/Web.csproj \
|
||||
--startup-project src/Web/Web.csproj \
|
||||
--context Hutopy.Web.Features.Messages.Data.MessagingDbContext \
|
||||
--configuration Debug \
|
||||
--no-build
|
||||
|
||||
dotnet ef database update \
|
||||
--project src/Web/Web.csproj \
|
||||
--startup-project src/Web/Web.csproj \
|
||||
--context Hutopy.Web.Features.Contents.Data.ContentDbContext \
|
||||
--configuration Debug \
|
||||
--no-build
|
||||
|
||||
Reference in New Issue
Block a user