Commit 30044a4d authored by Raphaël Hertzog's avatar Raphaël Hertzog

Increase max length on version field from 100 to 200

I'm not sure what package is hitting that limit, but it's clearly
insane.
parent 4c7418a2
Pipeline #69119 passed with stages
in 9 minutes and 23 seconds
# Generated by Django 2.2.4 on 2019-09-04 09:11
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0016_aliothdebiannet_list_archives'),
]
operations = [
migrations.AlterField(
model_name='binarypackage',
name='version',
field=models.CharField(max_length=200),
),
migrations.AlterField(
model_name='sourcepackage',
name='version',
field=models.CharField(max_length=200),
),
]
......@@ -1142,7 +1142,7 @@ class SourcePackage(models.Model):
SourcePackageName,
related_name='source_package_versions',
on_delete=models.CASCADE)
version = models.CharField(max_length=100)
version = models.CharField(max_length=200)
standards_version = models.CharField(max_length=550, blank=True)
architectures = models.ManyToManyField(Architecture, blank=True)
......@@ -1272,7 +1272,7 @@ class BinaryPackage(models.Model):
related_name='binary_package_versions',
on_delete=models.CASCADE
)
version = models.CharField(max_length=100)
version = models.CharField(max_length=200)
source_package = models.ForeignKey(SourcePackage, on_delete=models.CASCADE)
short_description = models.CharField(max_length=300, blank=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment