Increase path to 4096 character
parent
86bfdffaee
commit
a9bdb460a3
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.11.20 on 2019-02-23 15:05
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('projects', '0039_update-doctype-helptext'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='importedfile',
|
||||||
|
name='path',
|
||||||
|
field=models.CharField(max_length=4096, verbose_name='Path'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -1089,7 +1089,7 @@ class ImportedFile(models.Model):
|
||||||
)
|
)
|
||||||
name = models.CharField(_('Name'), max_length=255)
|
name = models.CharField(_('Name'), max_length=255)
|
||||||
slug = models.SlugField(_('Slug'))
|
slug = models.SlugField(_('Slug'))
|
||||||
path = models.CharField(_('Path'), max_length=255)
|
path = models.CharField(_('Path'), max_length=4096)
|
||||||
md5 = models.CharField(_('MD5 checksum'), max_length=255)
|
md5 = models.CharField(_('MD5 checksum'), max_length=255)
|
||||||
commit = models.CharField(_('Commit'), max_length=255)
|
commit = models.CharField(_('Commit'), max_length=255)
|
||||||
modified_date = models.DateTimeField(_('Modified date'), auto_now=True)
|
modified_date = models.DateTimeField(_('Modified date'), auto_now=True)
|
||||||
|
|
Loading…
Reference in New Issue