Change where the MigrationTable are to be created. Improve the update-databases.sh script
This commit is contained in:
@@ -1,17 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
dotnet ef database update \
|
||||
--project src/Infrastructure/Infrastructure.csproj \
|
||||
--startup-project src/Web/Web.csproj \
|
||||
--context Hutopy.Infrastructure.Data.ApplicationDbContext \
|
||||
--configuration Debug \
|
||||
--no-build
|
||||
|
||||
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 \
|
||||
--connection Server=localhost,5432;Database=Hutopy;Uid=sa;Pwd=P@ssword123!;
|
||||
--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 \
|
||||
--connection Server=localhost,5432;Database=Hutopy;Uid=sa;Pwd=P@ssword123!;
|
||||
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