@@ -34,11 +34,11 @@ Register-PSFConfigValidation -Name "transaction" -ScriptBlock {
34
34
Message = " "
35
35
}
36
36
try {
37
- if (([string ]$Value ) -in @ (' SingleTransaction' , ' TransactionPerScript' , ' NoTransaction' )) {
37
+ if (([string ]$Value ) -in @ (' SingleTransaction' , ' TransactionPerScript' , ' NoTransaction' , ' AlwaysRollback ' )) {
38
38
$Result.Value = [string ]$Value
39
39
}
40
40
else {
41
- $Result.Message = " Allowed values: SingleTransaction, TransactionPerScript, NoTransaction"
41
+ $Result.Message = " Allowed values: SingleTransaction, TransactionPerScript, NoTransaction, AlwaysRollback "
42
42
$Result.Success = $False
43
43
}
44
44
}
@@ -174,7 +174,7 @@ Set-PSFConfig -FullName dbops.ApplicationName -Value "dbops" -Initialize -Descri
174
174
Set-PSFConfig - FullName dbops.SqlInstance - Value " localhost" - Initialize - Description " Server to connect to"
175
175
Set-PSFConfig - FullName dbops.Database - Value $null - Initialize - Description " Name of the database for deployment"
176
176
Set-PSFConfig - FullName dbops.DeploymentMethod - Value ' NoTransaction' - Initialize - Validation transaction `
177
- - Description " Transactional behavior during deployment. Allowed values: SingleTransaction, TransactionPerScript, NoTransaction (default)"
177
+ - Description " Transactional behavior during deployment. Allowed values: SingleTransaction, TransactionPerScript, AlwaysRollback, NoTransaction (default)"
178
178
Set-PSFConfig - FullName dbops.Username - Value $null - Initialize - Description " Connection username"
179
179
Set-PSFConfig - FullName dbops.Password - Value $null - Initialize - Validation securestring `
180
180
- Description " Connection password. Only available to the same OS user, as it will be encrypted"
0 commit comments