mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Add Attach Database dialog (#24225)
This commit is contained in:
@@ -117,6 +117,11 @@
|
||||
"category": "MSSQL",
|
||||
"title": "%title.detachDatabase%"
|
||||
},
|
||||
{
|
||||
"command": "mssql.attachDatabase",
|
||||
"category": "MSSQL",
|
||||
"title": "%title.attachDatabase%"
|
||||
},
|
||||
{
|
||||
"command": "mssql.enableGroupBySchema",
|
||||
"category": "MSSQL",
|
||||
@@ -525,6 +530,10 @@
|
||||
{
|
||||
"command": "mssql.detachDatabase",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "mssql.attachDatabase",
|
||||
"when": "false"
|
||||
}
|
||||
],
|
||||
"objectExplorer/item/context": [
|
||||
@@ -589,6 +598,11 @@
|
||||
"when": "connectionProvider == MSSQL && nodeType =~ /^(ServerLevelLogin|User|ServerLevelServerRole|ApplicationRole|DatabaseRole)$/ && !(nodePath =~ /^.*\\/System Databases\\/.*$/) && config.workbench.enablePreviewFeatures",
|
||||
"group": "1_objectManagement@3"
|
||||
},
|
||||
{
|
||||
"command": "mssql.attachDatabase",
|
||||
"when": "connectionProvider == MSSQL && nodeType == Folder && objectType == Databases && !isCloud && config.workbench.enablePreviewFeatures",
|
||||
"group": "1_objectManagement"
|
||||
},
|
||||
{
|
||||
"command": "mssql.enableGroupBySchema",
|
||||
"when": "connectionProvider == MSSQL && nodeType && nodeType =~ /^(Server|Database)$/ && !config.mssql.objectExplorer.groupBySchema",
|
||||
|
||||
Reference in New Issue
Block a user