From a9bc716af511e631665a2b9788c27d6dbe83aad8 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 8 Jul 2025 17:02:16 +0800 Subject: [PATCH] perf: add encrypt field for sqlserver 2008 --- apps/assets/const/protocol.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/assets/const/protocol.py b/apps/assets/const/protocol.py index 2e3b751fd..7ac7bc3cb 100644 --- a/apps/assets/const/protocol.py +++ b/apps/assets/const/protocol.py @@ -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.') } } },