0002_auto_20190502_1341.py 1.73 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
# Generated by Django 2.2 on 2019-05-02 13:41

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('instance', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='instance',
            name='access_method',
            field=models.CharField(choices=[('rdp', 'Remote Desktop Protocol'), ('ssh', 'Secure Shell')], default='rdp', help_text='Primary remote access method.', max_length=10),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='instance',
            name='lease',
            field=models.CharField(choices=[('project', 'Project'), ('server', 'Server'), ('infinite', 'Infinite lease')], default='project', help_text='Expiration method', max_length=50),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='instance',
            name='password',
            field=models.CharField(default=12345678, help_text='Original password of the instance.', max_length=50),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='instance',
            name='system',
            field=models.CharField(default='windows', help_text='Operating system type', max_length=50),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='instance',
            name='description',
            field=models.TextField(blank=True, help_text='The description of the instance'),
        ),
        migrations.AlterField(
            model_name='instance',
            name='name',
            field=models.CharField(help_text='Human readable name of instance', max_length=100),
        ),
    ]