Skip to content

Commit ab9a6b5

Browse files
committed
Fix tests
Signed-off-by: lohani2280 <lohani.ayush01@gmail.com>
1 parent 9d5e887 commit ab9a6b5

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11.6 on 2019-04-11 16:18
3+
from __future__ import unicode_literals
4+
5+
from django.db import migrations, models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('vulnerabilities', '0003_auto_20190406_0950'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='packagereference',
17+
name='repository',
18+
field=models.CharField(blank=True, help_text='Repository URL eg:http://central.maven.org', max_length=100),
19+
),
20+
]

vulnerabilities/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class PackageReference(models.Model):
9999
"""
100100
package = models.ForeignKey(Package, on_delete=models.CASCADE)
101101
repository = models.CharField(
102-
max_length=50,
102+
max_length=100,
103103
help_text='Repository URL eg:http://central.maven.org',
104104
blank=True,
105105
)

0 commit comments

Comments
 (0)