You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dotnet-WebAPI/ci/db-init.sh

14 lines
261 B

set -xeu
git clone https://codefirst.iut.uca.fr/git/IQBall/Dotnet-WebAPI
cd Dotnet-WebAPI
git switch $1
(cd AppContext && rm -rf Migrations && dotnet ef migrations add iqball-postgres-db-mig)
(cd API && dotnet ef database update --project ../AppContext)