forked from adam/discord-bot-shtik
utils
This commit is contained in:
parent
a4c2ff1ea4
commit
f6b0a736cd
@ -18,7 +18,7 @@
|
||||
"Webhooks": [
|
||||
{
|
||||
"uacID": "9a94855a-e5a2-43b5-8420-ce670472ce95",
|
||||
"Trigger": "test",
|
||||
"Trigger": "!test",
|
||||
"Description": "<i>test</i>",
|
||||
"Uri": "http://localhost",
|
||||
"Method": "POST",
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user