mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
4.2 KiB
107 lines
4.2 KiB
# Generated by Django 3.1.14 on 2022-04-30 14:41
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('assets', '0097_auto_20220426_1558'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='PlatformProtocol',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=32, verbose_name='Name')),
|
|
('port', models.IntegerField(verbose_name='Port')),
|
|
('setting', models.JSONField(default=dict, verbose_name='Setting')),
|
|
],
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='domain_enabled',
|
|
field=models.BooleanField(default=True, verbose_name='Domain enabled'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='protocols_enabled',
|
|
field=models.BooleanField(default=True, verbose_name='Protocols enabled'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='protocols',
|
|
field=models.ManyToManyField(blank=True, to='assets.PlatformProtocol', verbose_name='Protocols'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='change_password_enabled',
|
|
field=models.BooleanField(default=False, verbose_name='Change password enabled'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='change_password_method',
|
|
field=models.TextField(blank=True, max_length=32, null=True, verbose_name='Change password method'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='create_account_enabled',
|
|
field=models.BooleanField(default=False, verbose_name='Create account enabled'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='create_account_method',
|
|
field=models.TextField(blank=True, max_length=32, null=True, verbose_name='Create account method'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='ping_enabled',
|
|
field=models.BooleanField(default=False, verbose_name='Ping enabled'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='ping_method',
|
|
field=models.CharField(blank=True, max_length=32, null=True, verbose_name='Ping method'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='su_enabled',
|
|
field=models.BooleanField(default=False, verbose_name='Su enabled'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='su_method',
|
|
field=models.CharField(blank=True, max_length=32, null=True, verbose_name='SU method'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='verify_account_enabled',
|
|
field=models.BooleanField(default=False, verbose_name='Verify account enabled'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='verify_account_method',
|
|
field=models.TextField(blank=True, max_length=32, null=True, verbose_name='Verify account method'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='gather_accounts_enabled',
|
|
field=models.BooleanField(default=False, verbose_name='Gather facts enabled'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='gather_accounts_method',
|
|
field=models.TextField(blank=True, max_length=32, null=True, verbose_name='Gather facts method'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='gather_facts_enabled',
|
|
field=models.BooleanField(default=False, verbose_name='Gather facts enabled'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='platform',
|
|
name='gather_facts_method',
|
|
field=models.TextField(blank=True, max_length=32, null=True, verbose_name='Gather facts method'),
|
|
),
|
|
]
|