diff --git a/migrations/0018_merge_20251008_1414.py b/migrations/0018_merge_20251008_1414.py new file mode 100644 index 0000000..0d71b08 --- /dev/null +++ b/migrations/0018_merge_20251008_1414.py @@ -0,0 +1,14 @@ +# Generated by Django 5.1.1 on 2025-10-08 14:14 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('ifc_validation_models', '0017_add_user_ci_index'), + ('ifc_validation_models', '0017_model_status_rocksdb_conversion_and_more'), + ] + + operations = [ + ] diff --git a/models.py b/models.py index ff02cc1..688e779 100644 --- a/models.py +++ b/models.py @@ -613,6 +613,16 @@ class License(models.TextChoices): help_text="Status of the Syntax Validation.", ) + status_magic_clamav = models.CharField( + max_length=1, + choices=Status.choices, + default=Status.NOT_VALIDATED, + db_index=True, + null=False, + blank=False, + help_text="Status of the file magic and anti-virus checks.", + ) + status_header_syntax = models.CharField( max_length=1, choices=Status.choices, @@ -956,6 +966,7 @@ class Type(models.TextChoices): """ The type of an Validation Task. """ + MAGIC_AND_CLAMAV = 'MAGIC_AND_CLAMAV', 'File magic and anti-virus checks' SYNTAX = 'SYNTAX', 'STEP Physical File Syntax' HEADER_SYNTAX = 'HEADER_SYNTAX', 'STEP Physical File Syntax (HEADER section)' SCHEMA = 'SCHEMA', 'Schema (EXPRESS language)'