Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrations/0005_increase_request_prof_file_length.py does not match code #244

Closed
xrmx opened this issue Dec 28, 2017 · 0 comments
Closed

Comments

@xrmx
Copy link
Contributor

xrmx commented Dec 28, 2017

The migration make the field nullable while the code uses blank=True. If you run makemigrations the following migrations is generated:

# -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-12-28 13:59
from __future__ import unicode_literals

from django.db import migrations, models
import silk.storage


class Migration(migrations.Migration):

    dependencies = [
        ('silk', '0005_increase_request_prof_file_length'),
    ]

    operations = [
        migrations.AlterField(
            model_name='request',
            name='prof_file',
            field=models.FileField(blank=True, max_length=300, storage=silk.storage.ProfilerResultStorage(), upload_to=b''),
        ),
    ]
dennybiasiolli added a commit to dennybiasiolli/silk that referenced this issue Dec 28, 2017
avelis pushed a commit that referenced this issue Dec 29, 2017
truizsanchez pushed a commit to truizsanchez/django-silk that referenced this issue Feb 18, 2020
tomas-ruiz-sanchez pushed a commit to tomas-ruiz-sanchez/django-silk that referenced this issue Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant