Swap rename to use DacFx move api (#22051)

* swap rename to use DacFx project apis

* add support for rename pre/post deploy scripts and add tests

* update the enum names too

* check instanceof instead of getting and iterating through all the collections
This commit is contained in:
Kim Santiago
2023-02-28 11:59:09 -08:00
committed by GitHub
parent 8550faaa73
commit 0413b95343
5 changed files with 88 additions and 18 deletions

View File

@@ -565,10 +565,10 @@ export enum DatabaseProjectItemType {
dataSourceRoot = 'databaseProject.itemType.dataSourceRoot',
sqlcmdVariablesRoot = 'databaseProject.itemType.sqlcmdVariablesRoot',
sqlcmdVariable = 'databaseProject.itemType.sqlcmdVariable',
preDeploy = 'databaseProject.itemType.file.preDeploymentScript',
postDeploy = 'databaseProject.itemType.file.postDeployScript',
none = 'databaseProject.itemType.file.noneFile',
sqlObjectFile = 'databaseProject.itemType.file.sqlObjectScript',
preDeploymentScript = 'databaseProject.itemType.file.preDeploymentScript',
postDeploymentScript = 'databaseProject.itemType.file.postDeployScript',
noneFile = 'databaseProject.itemType.file.noneFile',
sqlObjectScript = 'databaseProject.itemType.file.sqlObjectScript',
publishProfile = 'databaseProject.itemType.file.publishProfile'
}