Allow some fields to be null

This commit is contained in:
2020-05-19 11:19:37 +02:00
parent 832a8ca880
commit 1edae44647
2 changed files with 33 additions and 3 deletions

View File

@ -0,0 +1,30 @@
# Generated by Django 3.0.6 on 2020-05-19 08:21
import collections
from django.db import migrations, models
import jsonfield.fields
class Migration(migrations.Migration):
dependencies = [
('schedule', '0004_auto_20200518_1425'),
]
operations = [
migrations.AlterField(
model_name='schedule',
name='output_peregrine',
field=models.BinaryField(blank=True, help_text='This is the output in binary format from the Peregrine cluster', null=True, verbose_name='Peregrine binary output'),
),
migrations.AlterField(
model_name='schedule',
name='peregrine_result',
field=jsonfield.fields.JSONField(blank=True, help_text='The results from the Peregrine job in JSON', load_kwargs={'object_pairs_hook': collections.OrderedDict}, null=True, verbose_name='Peregrine JSON output'),
),
migrations.AlterField(
model_name='schedule',
name='planning_source',
field=jsonfield.fields.JSONField(blank=True, help_text='The schedule input in JSON format based on the form data', load_kwargs={'object_pairs_hook': collections.OrderedDict}, null=True, verbose_name='Schedule input'),
),
]