diff --git a/atdb/taskdatabase/migrations/0044_alter_job_type.py b/atdb/taskdatabase/migrations/0044_alter_job_type.py new file mode 100644 index 0000000000000000000000000000000000000000..5d8e604cec77601af7327da226059538f2ac0db9 --- /dev/null +++ b/atdb/taskdatabase/migrations/0044_alter_job_type.py @@ -0,0 +1,18 @@ +# Generated by Django 5.0 on 2024-02-27 08:52 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('taskdatabase', '0043_activity_is_combined_activity_is_validated'), + ] + + operations = [ + migrations.AlterField( + model_name='job', + name='type', + field=models.CharField(blank=True, db_index=True, default=None, max_length=30, null=True), + ), + ] diff --git a/atdb/taskdatabase/models.py b/atdb/taskdatabase/models.py index 954f70e146b85b27fb51fb4205e8f64b870f3ae0..c2db503af70bc234c42dcc7c504a7ced4618c60d 100644 --- a/atdb/taskdatabase/models.py +++ b/atdb/taskdatabase/models.py @@ -522,7 +522,7 @@ class Configuration(models.Model): class Job(models.Model): - type = models.CharField(db_index=True, max_length=20, default=None,null=True, blank=True) + type = models.CharField(db_index=True, max_length=30, default=None,null=True, blank=True) task_id = models.IntegerField(null=True, blank=True) job_id = models.IntegerField(null=True, blank=True) timestamp = models.DateTimeField(default=timezone.now, blank=True)