add a vscode task for ef db update
This commit is contained in:
20
.vscode/tasks.json
vendored
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",
|
||||||
|
Reference in New Issue
Block a user