perf: add encrypt field for sqlserver 2008

pull/15700/head
Eric 2025-07-08 17:02:16 +08:00 committed by Bryan
parent 2d5401e76e
commit a9bc716af5
1 changed files with 6 additions and 0 deletions

View File

@ -194,6 +194,12 @@ class Protocol(ChoicesMixin, models.TextChoices):
'default': '>=2014',
'label': _('Version'),
'help_text': _('SQL Server version, Different versions have different connection drivers')
},
'encrypt': {
'type': 'bool',
'default': True,
'label': _('Encrypt'),
'help_text': _('Whether to use TLS encryption.')
}
}
},