Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions migrations/0018_merge_20251008_1414.py
Original file line number Diff line number Diff line change
@@ -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 = [
]
11 changes: 11 additions & 0 deletions models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)'
Expand Down