feat: 支持sqlserver 通过chen 链接

pull/10856/head
Aaron3S 2023-06-29 11:37:34 +08:00 committed by Bryan
parent 877a053717
commit fbcb0da349
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class WebMethod(TextChoices):
if not settings.XPACK_ENABLED:
return methods
web_gui_dbs = [Protocol.mysql, Protocol.mariadb, Protocol.oracle, Protocol.postgresql]
web_gui_dbs = [Protocol.mysql, Protocol.mariadb, Protocol.oracle, Protocol.postgresql, Protocol.sqlserver]
for db in web_gui_dbs:
methods[db].append(cls.web_gui)
return methods
@ -188,7 +188,7 @@ class ConnectMethodUtil:
'listen': [Protocol.http],
'support': [
Protocol.mysql, Protocol.postgresql,
Protocol.oracle
Protocol.oracle, Protocol.sqlserver,
],
'match': 'm2m'
},