Browse Source

Improve EF Migration Workflow by Starting Required Docker Services Automatically (#2725)

* Added check to detremine if certain docker services are running and if not starts them

* used to docker no recreate flag to simplify the process
pull/2742/head
SmithThe4th 3 years ago committed by GitHub
parent
commit
7d0bba3a29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      dev/ef_migrate.ps1

7
dev/ef_migrate.ps1

@ -4,6 +4,13 @@ param ( @@ -4,6 +4,13 @@ param (
$Name
)
# DB service provider name
$service = "mysql"
Write-Output "--- Attempting to start $service service ---"
docker-compose --profile $service up -d --no-recreate
dotnet tool restore
$providers = @{

Loading…
Cancel
Save