From 7f9344d43743984c12bbf2315de59f3a068a4c1d Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 25 Sep 2022 16:47:31 +0100 Subject: [PATCH] add a vscode task for ef db update --- .vscode/tasks.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 3f93ad3..64c3e0c 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -26,6 +26,26 @@ ], "problemMatcher": "$msCompile" }, + { + "label": "db-upgrade", + "command": "dotnet", + "type": "process", + "args": [ + "ef", + "database", + "update" + ], + "problemMatcher": "$msCompile", + "options": { + "cwd": "${workspaceFolder}/src/isnd", + "env": { + "ASPNETCORE_ENV": "Development" + } + } + + + }, + { "label": "buildcli", "command": "msbuild",