diff --git a/apps/terminal/migrations/0064_auto_20230728_1001.py b/apps/terminal/migrations/0064_auto_20230728_1001.py index 264bcde38..900abb5ba 100644 --- a/apps/terminal/migrations/0064_auto_20230728_1001.py +++ b/apps/terminal/migrations/0064_auto_20230728_1001.py @@ -25,4 +25,14 @@ class Migration(migrations.Migration): 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'), + ), ] diff --git a/apps/terminal/migrations/0065_session_command_amount.py b/apps/terminal/migrations/0065_session_command_amount.py deleted file mode 100644 index 1733d7a19..000000000 --- a/apps/terminal/migrations/0065_session_command_amount.py +++ /dev/null @@ -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'), - ), - ] diff --git a/apps/terminal/migrations/0066_auto_20230810_1118.py b/apps/terminal/migrations/0066_auto_20230810_1118.py deleted file mode 100644 index 8c17fa6cb..000000000 --- a/apps/terminal/migrations/0066_auto_20230810_1118.py +++ /dev/null @@ -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'), - ), - ] diff --git a/apps/terminal/migrations/0067_remove_applet_enterprise_applet_edition.py b/apps/terminal/migrations/0067_remove_applet_enterprise_applet_edition.py deleted file mode 100644 index 3dd03408d..000000000 --- a/apps/terminal/migrations/0067_remove_applet_enterprise_applet_edition.py +++ /dev/null @@ -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'), - ), - ]