always db update!
Some checks failed
gitea.arg.rip/_template-service/pipeline/head There was a failure building this commit

This commit is contained in:
adam 2024-12-13 16:19:13 -05:00
parent bb1cc82fcc
commit 65852607ff

View File

@ -12,12 +12,13 @@ case "$$1" in
sudo -u postgres psql -d "$${servicename}_dev" -c "GRANT ALL ON SCHEMA public TO $$servicename"
cp appsettings.sample.json appsettings.json
dotnet ef database update --connection "$$connnectionstr";;
;;
"add-migration")
dotnet ef migrations add "$$2"
dotnet ef database update --connection "$$connnectionstr";;
"dbupdate")
dotnet ef database update --connection "$$connnectionstr";;