Skip to content

Commit e3e4115

Browse files
add migration
1 parent 8747af3 commit e3e4115

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Generated by Django 5.1.8 on 2025-05-14 06:35
2+
3+
import dojo.validators
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('dojo', '0228_alter_jira_username_password'),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name='finding',
16+
name='cvssv3',
17+
field=models.TextField(help_text='Common Vulnerability Scoring System version 3 (CVSSv3) score associated with this flaw.', max_length=117, null=True, validators=[dojo.validators.cvss3_validator], verbose_name='CVSS v3'),
18+
),
19+
migrations.AlterField(
20+
model_name='finding_template',
21+
name='cvssv3',
22+
field=models.TextField(max_length=117, null=True, validators=[dojo.validators.cvss3_validator]),
23+
),
24+
]

run-unittest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ echo "Running docker compose unit tests with test case $TEST_CASE ..."
5454
# Compose V2 integrates compose functions into the Docker platform, continuing to support
5555
# most of the previous docker-compose features and flags. You can run Compose V2 by
5656
# replacing the hyphen (-) with a space, using docker compose, instead of docker-compose.
57-
docker compose exec uwsgi bash -c "python manage.py test $TEST_CASE -v 3 --keepdb" --debug-mode
57+
docker compose exec uwsgi bash -c "python manage.py test $TEST_CASE -v2 --keepdb"

0 commit comments

Comments
 (0)