mirror of https://github.com/jumpserver/jumpserver
perf: 合并 migrations
parent
7611d4e7ce
commit
71e69782b7
|
@ -25,4 +25,14 @@ class Migration(migrations.Migration):
|
||||||
name='origin',
|
name='origin',
|
||||||
field=models.URLField(blank=True, null=True, verbose_name='Origin'),
|
field=models.URLField(blank=True, null=True, verbose_name='Origin'),
|
||||||
),
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='session',
|
||||||
|
name='cmd_amount',
|
||||||
|
field=models.IntegerField(default=-1, verbose_name='Command amount'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='task',
|
||||||
|
name='name',
|
||||||
|
field=models.CharField(choices=[('kill_session', 'Kill Session'), ('lock_session', 'Lock Session'), ('unlock_session', 'Unlock Session')], max_length=128, verbose_name='Name'),
|
||||||
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
# Generated by Django 4.1.10 on 2023-07-31 10:46
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('terminal', '0064_auto_20230728_1001'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='session',
|
|
||||||
name='cmd_amount',
|
|
||||||
field=models.IntegerField(default=-1, verbose_name='Command amount'),
|
|
||||||
),
|
|
||||||
]
|
|
|
@ -1,27 +0,0 @@
|
||||||
# Generated by Django 4.1.10 on 2023-08-10 02:36
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('terminal', '0065_session_command_amount'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='applet',
|
|
||||||
name='edition',
|
|
||||||
),
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='applet',
|
|
||||||
name='enterprise',
|
|
||||||
field=models.BooleanField(default=False, verbose_name='Enterprise'),
|
|
||||||
),
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name='task',
|
|
||||||
name='name',
|
|
||||||
field=models.CharField(choices=[('kill_session', 'Kill Session'), ('lock_session', 'Lock Session'), ('unlock_session', 'Unlock Session')], max_length=128, verbose_name='Name'),
|
|
||||||
),
|
|
||||||
]
|
|
|
@ -1,22 +0,0 @@
|
||||||
# Generated by Django 4.1.10 on 2023-08-10 06:35
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('terminal', '0066_auto_20230810_1118'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='applet',
|
|
||||||
name='enterprise',
|
|
||||||
),
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='applet',
|
|
||||||
name='edition',
|
|
||||||
field=models.CharField(choices=[('community', 'Community'), ('enterprise', 'Enterprise')], default='community', max_length=128, verbose_name='Edition'),
|
|
||||||
),
|
|
||||||
]
|
|
Loading…
Reference in New Issue