add a vscode task for ef db update

This commit is contained in:
2022-09-25 16:47:31 +01:00
parent f46ca00de9
commit 7f9344d437

20
.vscode/tasks.json vendored
View File

@ -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",