Skip to content

Commit b1b137b

Browse files
committed
Data model changes for clamav/magic check
1 parent 3a4c020 commit b1b137b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

models.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,16 @@ class License(models.TextChoices):
613613
help_text="Status of the Syntax Validation.",
614614
)
615615

616+
status_magic_clamav = models.CharField(
617+
max_length=1,
618+
choices=Status.choices,
619+
default=Status.NOT_VALIDATED,
620+
db_index=True,
621+
null=False,
622+
blank=False,
623+
help_text="Status of the file magic and anti-virus checks.",
624+
)
625+
616626
status_header_syntax = models.CharField(
617627
max_length=1,
618628
choices=Status.choices,
@@ -956,6 +966,7 @@ class Type(models.TextChoices):
956966
"""
957967
The type of an Validation Task.
958968
"""
969+
MAGIC_AND_CLAMAV = 'MAGIC_AND_CLAMAV', 'File magic and anti-virus checks'
959970
SYNTAX = 'SYNTAX', 'STEP Physical File Syntax'
960971
HEADER_SYNTAX = 'HEADER_SYNTAX', 'STEP Physical File Syntax (HEADER section)'
961972
SCHEMA = 'SCHEMA', 'Schema (EXPRESS language)'

0 commit comments

Comments
 (0)