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:
Kim Santiago
2021-05-27 10:03:33 -07:00
committed by GitHub
parent 3946cee33c
commit faaf667439
5 changed files with 39 additions and 17 deletions

View File

@@ -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];
}