add a vscode task for ef db update

broken/ef
Paul Schneider 2 years ago
parent f46ca00de9
commit 7f9344d437
1 changed files with 20 additions and 0 deletions

20
.vscode/tasks.json vendored

@ -26,6 +26,26 @@
], ],
"problemMatcher": "$msCompile" "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", "label": "buildcli",
"command": "msbuild", "command": "msbuild",

Loading…