perf: add encrypt field for sqlserver 2008

This commit is contained in:
Eric 2025-07-08 17:02:16 +08:00 committed by Bryan
parent 2d5401e76e
commit a9bc716af5

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.')
}
}
},