mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Add Detach Database option to database context menu (#23480)
This commit is contained in:
@@ -101,6 +101,11 @@
|
||||
"category": "MSSQL",
|
||||
"title": "%title.renameObject%"
|
||||
},
|
||||
{
|
||||
"command": "mssql.detachDatabase",
|
||||
"category": "MSSQL",
|
||||
"title": "%title.detachDatabase%"
|
||||
},
|
||||
{
|
||||
"command": "mssql.enableGroupBySchema",
|
||||
"category": "MSSQL",
|
||||
@@ -542,6 +547,11 @@
|
||||
"when": "connectionProvider == MSSQL && nodeType == Column && config.workbench.enablePreviewFeatures && nodePath =~ /^.*\\/Tables\\/.*\\/Columns\\/.*$/",
|
||||
"group": "0_query@3"
|
||||
},
|
||||
{
|
||||
"command": "mssql.detachDatabase",
|
||||
"when": "connectionProvider == MSSQL && nodeType == Database && !isCloud && config.workbench.enablePreviewFeatures",
|
||||
"group": "0_query@4"
|
||||
},
|
||||
{
|
||||
"command": "mssql.enableGroupBySchema",
|
||||
"when": "connectionProvider == MSSQL && nodeType && nodeType =~ /^(Server|Database)$/ && !config.mssql.objectExplorer.groupBySchema"
|
||||
|
||||
Reference in New Issue
Block a user