From 19ae599bd04cddb3cc21fe237e3f39a062eeb662 Mon Sep 17 00:00:00 2001 From: Jonathan Bourdon Date: Sun, 4 Aug 2024 03:24:50 -0400 Subject: [PATCH] Improves update-databases.sh --- update-databases.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-databases.sh b/update-databases.sh index 9f90803..2203b11 100644 --- a/update-databases.sh +++ b/update-databases.sh @@ -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