Skip to content

Commit e194649

Browse files
authored
Merge pull request #199 from haikoschol/fix_version_maxlen
Fix max_length for Package.version in initial migration
2 parents 6e9dde0 + c5b2884 commit e194649

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vulnerabilities/migrations/0001_initial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Migration(migrations.Migration):
3737
('type', models.CharField(blank=True, help_text='A short code to identify the type of this package. For example: gem for a Rubygem, docker for a container, pypi for a Python Wheel or Egg, maven for a Maven Jar, deb for a Debian package, etc.', max_length=16, null=True)),
3838
('namespace', models.CharField(blank=True, help_text='Package name prefix, such as Maven groupid, Docker image owner, GitHub user or organization, etc.', max_length=255, null=True)),
3939
('name', models.CharField(blank=True, help_text='Name of the package.', max_length=100, null=True)),
40-
('version', models.CharField(blank=True, help_text='Version of the package.', max_length=50, null=True)),
40+
('version', models.CharField(blank=True, help_text='Version of the package.', max_length=100, null=True)),
4141
('qualifiers', models.CharField(blank=True, help_text='Extra qualifying data for a package such as the name of an OS, architecture, distro, etc.', max_length=1024, null=True)),
4242
('subpath', models.CharField(blank=True, help_text='Extra subpath within a package, relative to the package root.', max_length=200, null=True)),
4343
],

0 commit comments

Comments
 (0)