From b5fc865cc6579356c2fa6641b8bb2897d8a57320 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 25 Jul 2023 14:35:42 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20Oracle=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/const/protocol.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/assets/const/protocol.py b/apps/assets/const/protocol.py index f405decb8..9588149ad 100644 --- a/apps/assets/const/protocol.py +++ b/apps/assets/const/protocol.py @@ -119,7 +119,15 @@ class Protocol(ChoicesMixin, models.TextChoices): 'port': 1521, 'required': True, 'secret_types': ['password'], - 'xpack': True + 'xpack': True, + 'setting': { + 'sysdba': { + 'type': 'bool', + 'default': False, + 'label': _('SYSDBA'), + 'help_text': _('Connect as SYSDBA') + }, + } }, cls.sqlserver: { 'port': 1433,