mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -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)!;
|
||||
|
||||
/**
|
||||
|
||||
@@ -304,6 +304,7 @@ declare module 'sqldbproj' {
|
||||
sqlServer2016 = 'SQL Server 2016',
|
||||
sqlServer2017 = 'SQL Server 2017',
|
||||
sqlServer2019 = 'SQL Server 2019',
|
||||
sqlServer2022 = 'SQL Server 2022',
|
||||
sqlAzure = 'Azure SQL Database',
|
||||
sqlDW = 'Azure Synapse Dedicated SQL Pool',
|
||||
sqlEdge = 'Azure SQL Edge'
|
||||
|
||||
Reference in New Issue
Block a user