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