Adds update-databases.sh script
This commit is contained in:
17
update-databases.sh
Normal file
17
update-databases.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
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!;
|
||||
|
||||
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!;
|
||||
Reference in New Issue
Block a user