2019-12-05 07:09:25 +00:00
|
|
|
# Generated by Django 2.2.7 on 2019-12-02 02:10
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('terminal', '0017_auto_20191125_0931'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.RemoveField(
|
|
|
|
model_name='session',
|
|
|
|
name='date_last_active',
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='session',
|
|
|
|
name='remote_addr',
|
|
|
|
field=models.CharField(blank=True, max_length=128, null=True,
|
|
|
|
verbose_name='Remote addr'),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='session',
|
|
|
|
name='asset_id',
|
|
|
|
field=models.CharField(blank=True, db_index=True, default='',
|
|
|
|
max_length=36),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='session',
|
|
|
|
name='system_user_id',
|
|
|
|
field=models.CharField(blank=True, db_index=True, default='',
|
|
|
|
max_length=36),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='session',
|
|
|
|
name='user_id',
|
|
|
|
field=models.CharField(blank=True, db_index=True, default='',
|
|
|
|
max_length=36),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='session',
|
|
|
|
name='asset',
|
2020-01-06 07:36:03 +00:00
|
|
|
field=models.CharField(db_index=True, max_length=128,
|
2019-12-05 07:09:25 +00:00
|
|
|
verbose_name='Asset'),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='session',
|
|
|
|
name='protocol',
|
|
|
|
field=models.CharField(
|
|
|
|
choices=[('ssh', 'ssh'), ('rdp', 'rdp'), ('vnc', 'vnc'),
|
|
|
|
('telnet', 'telnet')], db_index=True, default='ssh',
|
|
|
|
max_length=8),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='session',
|
|
|
|
name='system_user',
|
|
|
|
field=models.CharField(db_index=True, max_length=128,
|
|
|
|
verbose_name='System user'),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='session',
|
|
|
|
name='user',
|
|
|
|
field=models.CharField(db_index=True, max_length=128,
|
|
|
|
verbose_name='User'),
|
|
|
|
),
|
|
|
|
]
|