mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 01:25:36 -05:00
Add SQL Server 2022 as a target platform option for sql projects (#19990)
* add 160 option for sql db projects * add comment
This commit is contained in:
@@ -576,6 +576,7 @@ export const targetPlatformToVersion: Map<string, string> = new Map<string, stri
|
||||
[SqlTargetPlatform.sqlServer2016, '130'],
|
||||
[SqlTargetPlatform.sqlServer2017, '140'],
|
||||
[SqlTargetPlatform.sqlServer2019, '150'],
|
||||
[SqlTargetPlatform.sqlServer2022, '160'],
|
||||
[SqlTargetPlatform.sqlAzure, 'AzureV12'],
|
||||
[SqlTargetPlatform.sqlDW, 'Dw']
|
||||
]);
|
||||
@@ -583,7 +584,7 @@ export const targetPlatformToVersion: Map<string, string> = new Map<string, stri
|
||||
// DW is special since the system dacpac folder has a different name from the target platform
|
||||
export const AzureDwFolder = 'AzureDw';
|
||||
|
||||
export const defaultTargetPlatform = SqlTargetPlatform.sqlServer2019;
|
||||
export const defaultTargetPlatform = SqlTargetPlatform.sqlServer2019; // TODO: update to 2022 when it's GA
|
||||
export const defaultDSP = targetPlatformToVersion.get(defaultTargetPlatform)!;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user