diff --git a/devuitls.sh b/devuitls.sh index cd350ba..fb2c7f9 100755 --- a/devuitls.sh +++ b/devuitls.sh @@ -12,17 +12,20 @@ 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";; + dotnet ef database update --connection "$$connnectionstr" ;; "add-migration") dotnet ef migrations add "$$2" - dotnet ef database update --connection "$$connnectionstr";; + dotnet ef database update --connection "$$connnectionstr" + ;; "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