From 65852607fff36cb93abd514ba614b9d740b1a3af Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 13 Dec 2024 16:19:13 -0500 Subject: [PATCH] always db update! --- devuitls.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devuitls.sh b/devuitls.sh index ee8286c..cd350ba 100755 --- a/devuitls.sh +++ b/devuitls.sh @@ -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";;