mirror of https://github.com/jumpserver/jumpserver
[Bugfix] session model 添加 vnc 协议 (#2278)
* [Bugfix] session model 添加 vnc 协议 * [Update] 修改表结构pull/2279/head
parent
8e51f97dc7
commit
340c615efe
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.1 on 2018-12-26 06:41
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('terminal', '0013_auto_20181123_1113'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='session',
|
||||
name='protocol',
|
||||
field=models.CharField(choices=[('ssh', 'ssh'), ('rdp', 'rdp'), ('vnc', 'vnc')], default='ssh', max_length=8),
|
||||
),
|
||||
]
|
|
@ -132,7 +132,8 @@ class Session(OrgModelMixin):
|
|||
)
|
||||
PROTOCOL_CHOICES = (
|
||||
('ssh', 'ssh'),
|
||||
('rdp', 'rdp')
|
||||
('rdp', 'rdp'),
|
||||
('vnc', 'vnc')
|
||||
)
|
||||
|
||||
id = models.UUIDField(default=uuid.uuid4, primary_key=True)
|
||||
|
|
Loading…
Reference in New Issue