Skip to content

Commit b85064c

Browse files
committed
Change the max length of scoring_elements
Signed-off-by: ziadhany <[email protected]>
1 parent 9e64420 commit b85064c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vulnerabilities/migrations/0028_vulnerabilityseverity_scoring_elements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ class Migration(migrations.Migration):
1313
migrations.AddField(
1414
model_name='vulnerabilityseverity',
1515
name='scoring_elements',
16-
field=models.CharField(help_text='Supporting a scoring elements as a string For example a CVSS vector Important, High, Medium ,Low.Typically used to compute the value', max_length=100, null=True),
16+
field=models.CharField(help_text='Supporting a scoring elements as a string For example a CVSS vector Important, High, Medium ,Low.Typically used to compute the value', max_length=150, null=True),
1717
),
1818
]

vulnerabilities/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ class VulnerabilitySeverity(models.Model):
370370
value = models.CharField(max_length=50, help_text="Example: 9.0, Important, High")
371371

372372
scoring_elements = models.CharField(
373-
max_length=100,
373+
max_length=150,
374374
null=True,
375375
help_text="Supporting a scoring elements as a string "
376376
"For example a CVSS vector Important, High, Medium ,Low."

0 commit comments

Comments
 (0)