mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-04 10:36:37 +00:00
perf: migrate
This commit is contained in:
parent
eb777854d4
commit
7797c76032
@ -4,7 +4,6 @@ from django.db import migrations, models
|
|||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('accounts', '0006_alter_accountrisk_username_and_more'),
|
('accounts', '0006_alter_accountrisk_username_and_more'),
|
||||||
]
|
]
|
||||||
@ -13,6 +12,18 @@ class Migration(migrations.Migration):
|
|||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='account',
|
model_name='account',
|
||||||
name='connectivity',
|
name='connectivity',
|
||||||
field=models.CharField(choices=[('-', 'Unknown'), ('na', 'N/A'), ('ok', 'OK'), ('err', 'Error'), ('auth_err', 'Authentication error'), ('sudo_err', 'Sudo permission error'), ('password_err', 'Invalid password error'), ('openssh_key_err', 'OpenSSH key error'), ('ntlm_err', 'NTLM credentials rejected error'), ('create_dir_err', 'Create directory error')], default='-', max_length=16, verbose_name='Connectivity'),
|
field=models.CharField(choices=[
|
||||||
|
('-', 'Unknown'),
|
||||||
|
('na', 'N/A'),
|
||||||
|
('ok', 'OK'),
|
||||||
|
('err', 'Error'),
|
||||||
|
('rdp_err', 'RDP error'),
|
||||||
|
('auth_err', 'Authentication error'),
|
||||||
|
('password_err', 'Invalid password error'),
|
||||||
|
('openssh_key_err', 'OpenSSH key error'),
|
||||||
|
('ntlm_err', 'NTLM credentials rejected error'),
|
||||||
|
('create_temp_err', 'Create temporary error')
|
||||||
|
],
|
||||||
|
default='-', max_length=16, verbose_name='Connectivity'),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
@ -4,7 +4,6 @@ from django.db import migrations, models
|
|||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('assets', '0018_rename_domain_zone'),
|
('assets', '0018_rename_domain_zone'),
|
||||||
]
|
]
|
||||||
@ -13,6 +12,18 @@ class Migration(migrations.Migration):
|
|||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='asset',
|
model_name='asset',
|
||||||
name='connectivity',
|
name='connectivity',
|
||||||
field=models.CharField(choices=[('-', 'Unknown'), ('na', 'N/A'), ('ok', 'OK'), ('err', 'Error'), ('auth_err', 'Authentication error'), ('sudo_err', 'Sudo permission error'), ('password_err', 'Invalid password error'), ('openssh_key_err', 'OpenSSH key error'), ('ntlm_err', 'NTLM credentials rejected error'), ('create_dir_err', 'Create directory error')], default='-', max_length=16, verbose_name='Connectivity'),
|
field=models.CharField(
|
||||||
|
choices=[
|
||||||
|
('-', 'Unknown'),
|
||||||
|
('na', 'N/A'),
|
||||||
|
('ok', 'OK'),
|
||||||
|
('err', 'Error'),
|
||||||
|
('rdp_err', 'RDP error'),
|
||||||
|
('auth_err', 'Authentication error'),
|
||||||
|
('password_err', 'Invalid password error'),
|
||||||
|
('openssh_key_err', 'OpenSSH key error'),
|
||||||
|
('ntlm_err', 'NTLM credentials rejected error'),
|
||||||
|
('create_temp_err', 'Create temporary error')
|
||||||
|
], default='-', max_length=16, verbose_name='Connectivity'),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user