mirror of https://github.com/jumpserver/jumpserver
perf: 修改 migrations
parent
dc35a8c52b
commit
a99d22708c
|
@ -20,14 +20,14 @@ class Migration(migrations.Migration):
|
|||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='commandfilteracl',
|
||||
options={'ordering': ('priority', 'date_updated', 'name'), 'verbose_name': 'Command acl'},
|
||||
options={'ordering': ('priority', 'name'), 'verbose_name': 'Command acl'},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='loginacl',
|
||||
options={'ordering': ('priority', 'date_updated', 'name'), 'verbose_name': 'Login acl'},
|
||||
options={'ordering': ('priority', 'name'), 'verbose_name': 'Login acl'},
|
||||
),
|
||||
migrations.AlterModelOptions(
|
||||
name='loginassetacl',
|
||||
options={'ordering': ('priority', 'date_updated', 'name'), 'verbose_name': 'Login asset acl'},
|
||||
options={'ordering': ('priority', 'name'), 'verbose_name': 'Login asset acl'},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -39,7 +39,7 @@ class Migration(migrations.Migration):
|
|||
models.ManyToManyField(blank=True, to=settings.AUTH_USER_MODEL, verbose_name='Reviewers')),
|
||||
],
|
||||
options={
|
||||
'ordering': ('priority', 'date_updated', 'name'),
|
||||
'ordering': ('priority', 'name'),
|
||||
'abstract': False,
|
||||
},
|
||||
),
|
||||
|
|
|
@ -4,7 +4,6 @@ from django.db import migrations, models
|
|||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('terminal', '0061_applet_can_concurrent'),
|
||||
]
|
||||
|
@ -13,6 +12,7 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name='applet',
|
||||
name='edition',
|
||||
field=models.CharField(default='community', max_length=128, verbose_name='Edition'),
|
||||
field=models.CharField(choices=[('community', 'Community'), ('enterprise', 'Enterprise')],
|
||||
default='community', max_length=128, verbose_name='Edition'),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue