that's what I get for using a narrow window
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit
This commit is contained in:
parent
65852607ff
commit
063a8fd945
11
devuitls.sh
11
devuitls.sh
@ -12,17 +12,20 @@ case "$$1" in
|
|||||||
sudo -u postgres psql -d "$${servicename}_dev" -c "GRANT ALL ON SCHEMA public TO $$servicename"
|
sudo -u postgres psql -d "$${servicename}_dev" -c "GRANT ALL ON SCHEMA public TO $$servicename"
|
||||||
|
|
||||||
cp appsettings.sample.json appsettings.json
|
cp appsettings.sample.json appsettings.json
|
||||||
dotnet ef database update --connection "$$connnectionstr";;
|
dotnet ef database update --connection "$$connnectionstr"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"add-migration")
|
"add-migration")
|
||||||
dotnet ef migrations add "$$2"
|
dotnet ef migrations add "$$2"
|
||||||
dotnet ef database update --connection "$$connnectionstr";;
|
dotnet ef database update --connection "$$connnectionstr"
|
||||||
|
;;
|
||||||
|
|
||||||
"dbupdate")
|
"dbupdate")
|
||||||
dotnet ef database update --connection "$$connnectionstr";;
|
dotnet ef database update --connection "$$connnectionstr"
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Unknown command '$$1', try 'initial'" ;;
|
echo "Unknown command '$$1', try 'initial'"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user