From f6b0a736cd2889a582736b667e12e521b05b713f Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 1 Jul 2025 01:12:28 -0400 Subject: [PATCH] utils --- appsettings.json | 2 +- devutils.sh | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/appsettings.json b/appsettings.json index de251d1..416bd56 100644 --- a/appsettings.json +++ b/appsettings.json @@ -18,7 +18,7 @@ "Webhooks": [ { "uacID": "9a94855a-e5a2-43b5-8420-ce670472ce95", - "Trigger": "test", + "Trigger": "!test", "Description": "test", "Uri": "http://localhost", "Method": "POST", diff --git a/devutils.sh b/devutils.sh index d0f1748..79dc095 100755 --- a/devutils.sh +++ b/devutils.sh @@ -19,6 +19,14 @@ case "$1" in dotnet ef migrations add "$2" dotnet ef database update --connection "$connnectionstr" ;; + "remove-migration") + echo "ef migrations will tell you you can use dotnet ef migrations remove." + echo "" + echo "LIES." + echo "" + echo "it doesn't have a way to specify the connection string. can't be done." + echo "edit the db the hard way." + ;; "dbupdate") dotnet ef database update --connection "$connnectionstr"