diff --git a/apps/accounts/migrations/0019_backupaccountautomation_and_more.py b/apps/accounts/migrations/0019_backupaccountautomation_and_more.py index 42eaddf21..47dbab646 100644 --- a/apps/accounts/migrations/0019_backupaccountautomation_and_more.py +++ b/apps/accounts/migrations/0019_backupaccountautomation_and_more.py @@ -113,4 +113,21 @@ class Migration(migrations.Migration): migrations.DeleteModel( name='AccountBackupExecution', ), + migrations.RemoveField( + model_name='gatheredaccount', + name='authorized_keys', + ), + migrations.RemoveField( + model_name='gatheredaccount', + name='groups', + ), + migrations.RemoveField( + model_name='gatheredaccount', + name='sudoers', + ), + migrations.AddField( + model_name='gatheredaccount', + name='detail', + field=models.JSONField(blank=True, default=dict, verbose_name='Detail'), + ), ] diff --git a/apps/accounts/migrations/0019_remove_gatheredaccount_authorized_keys_and_more.py b/apps/accounts/migrations/0019_remove_gatheredaccount_authorized_keys_and_more.py deleted file mode 100644 index 27deeb463..000000000 --- a/apps/accounts/migrations/0019_remove_gatheredaccount_authorized_keys_and_more.py +++ /dev/null @@ -1,30 +0,0 @@ -# Generated by Django 4.1.13 on 2024-12-03 07:01 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ('accounts', '0018_changesecretrecord_ignore_fail_and_more'), - ] - - operations = [ - migrations.RemoveField( - model_name='gatheredaccount', - name='authorized_keys', - ), - migrations.RemoveField( - model_name='gatheredaccount', - name='groups', - ), - migrations.RemoveField( - model_name='gatheredaccount', - name='sudoers', - ), - migrations.AddField( - model_name='gatheredaccount', - name='detail', - field=models.JSONField(blank=True, default=dict, verbose_name='Detail'), - ), - ] diff --git a/apps/assets/migrations/0011_alter_automationexecution_status.py b/apps/assets/migrations/0011_alter_automationexecution_status.py deleted file mode 100644 index afcb22cce..000000000 --- a/apps/assets/migrations/0011_alter_automationexecution_status.py +++ /dev/null @@ -1,31 +0,0 @@ -# Generated by Django 4.1.13 on 2024-12-02 11:30 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ("assets", "0010_alter_automationexecution_duration"), - ] - - operations = [ - migrations.AlterField( - model_name="automationexecution", - name="status", - field=models.CharField( - choices=[ - ("ready", "Ready"), - ("pending", "Pending"), - ("running", "Running"), - ("success", "Success"), - ("failed", "Failed"), - ("error", "Error"), - ("canceled", "Canceled"), - ], - default="pending", - max_length=16, - verbose_name="Status", - ), - ), - ] diff --git a/apps/assets/migrations/0011_auto_20241204_1516.py b/apps/assets/migrations/0011_auto_20241204_1516.py index 4cf910b63..b9ca490d4 100644 --- a/apps/assets/migrations/0011_auto_20241204_1516.py +++ b/apps/assets/migrations/0011_auto_20241204_1516.py @@ -1,6 +1,6 @@ # Generated by Django 4.1.13 on 2024-12-04 07:16 -from django.db import migrations +from django.db import migrations, models def migrate_platform_sqlserver_automation(apps, schema_editor): @@ -19,5 +19,23 @@ class Migration(migrations.Migration): ] operations = [ + migrations.AlterField( + model_name="automationexecution", + name="status", + field=models.CharField( + choices=[ + ("ready", "Ready"), + ("pending", "Pending"), + ("running", "Running"), + ("success", "Success"), + ("failed", "Failed"), + ("error", "Error"), + ("canceled", "Canceled"), + ], + default="pending", + max_length=16, + verbose_name="Status", + ), + ), migrations.RunPython(migrate_platform_sqlserver_automation) ]