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
4 changes: 2 additions & 2 deletions vulnerabilities/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 3.0.7 on 2021-01-11 17:14
# Generated by Django 3.0.7 on 2021-01-21 16:32

import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
Expand Down Expand Up @@ -40,7 +40,7 @@ class Migration(migrations.Migration):
('name', models.CharField(blank=True, help_text='Name of the package.', max_length=100)),
('version', models.CharField(blank=True, help_text='Version of the package.', max_length=100)),
('subpath', models.CharField(blank=True, help_text='Extra subpath within a package, relative to the package root.', max_length=200)),
('qualifiers', django.contrib.postgres.fields.jsonb.JSONField(default=dict, help_text='Extra qualifying data for a package such as the name of an OS, architecture, distro, etc.', null=True)),
('qualifiers', django.contrib.postgres.fields.jsonb.JSONField(default=dict, help_text='Extra qualifying data for a package such as the name of an OS, architecture, distro, etc.')),
],
),
migrations.CreateModel(
Expand Down
2 changes: 1 addition & 1 deletion vulnerabilities/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class Meta:
"Extra qualifying data for a package such as the name of an OS, "
"architecture, distro, etc."
),
null=True,
null=False,
)

def set_package_url(self, package_url):
Expand Down