Browse Source

Created entrypoint for migrations

pull/783/head^2
Atakan Özceviz 8 years ago
parent
commit
d1c08aa569
  1. 10
      samples/MicroserviceDemo/databases/entrypoint.sh

10
samples/MicroserviceDemo/databases/entrypoint.sh

@ -0,0 +1,10 @@
#!/bin/bash
cd /src/ProductService.Host
until dotnet ef database update --no-build; do
>&2 echo "SQL Server is starting up"
sleep 1
done
cd /src/AuthServer.Host && dotnet ef database update --no-build
Loading…
Cancel
Save