mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 09:35:39 -05:00
Add DW master.dacpac (#15559)
* add DW master.dacpac * add missing awaits in tests * use ternary * only show master in system db dropdown for dw
This commit is contained in:
@@ -354,6 +354,9 @@ export const targetPlatformToVersion: Map<string, string> = new Map<string, stri
|
||||
[sqlDW, 'Dw']
|
||||
]);
|
||||
|
||||
// DW is special since the system dacpac folder has a different name from the target platform
|
||||
export const AzureDwFolder = 'AzureDw';
|
||||
|
||||
export function getTargetPlatformFromVersion(version: string): string {
|
||||
return Array.from(targetPlatformToVersion.keys()).filter(k => targetPlatformToVersion.get(k) === version)[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user