add a vscode task for ef db update
This commit is contained in:
parent
f46ca00de9
commit
7f9344d437
1 changed files with 20 additions and 0 deletions
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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue