Skip to content
Snippets Groups Projects
Commit 9988cf17 authored by Klaas Kliffen's avatar Klaas Kliffen :satellite:
Browse files

Merge branch 'set-blank-fields' into 'main'

set blank for fields that are auto filled

See merge request !68
parents 63fb5697 0c645066
No related branches found
No related tags found
1 merge request!68set blank for fields that are auto filled
Pipeline #42664 passed
# Generated by Django 4.1.5 on 2023-01-18 15:41
import django.contrib.postgres.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('lofardata', '0015_alter_dataproduct_dysco_compression'),
]
operations = [
migrations.AlterField(
model_name='workspecification',
name='inputs',
field=models.JSONField(blank=True, null=True),
),
migrations.AlterField(
model_name='workspecification',
name='related_tasks',
field=django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(), blank=True, null=True, size=None),
),
]
......@@ -116,14 +116,14 @@ class WorkSpecification(models.Model):
created_by = models.ForeignKey(User, on_delete=models.DO_NOTHING, null=True)
filters = models.JSONField(null=True)
# Input data containing sizes/urls for submission to ATDB
inputs = models.JSONField(null=True)
inputs = models.JSONField(null=True, blank=True)
# ATDB Workflow URL
selected_workflow = models.CharField(max_length=500, null=True)
selected_workflow_tag = models.CharField(max_length=500, null=True, default="Unknown")
# Task ID's that were created in ATDB
related_tasks = ArrayField(models.IntegerField(), null=True)
related_tasks = ArrayField(models.IntegerField(), null=True, blank=True)
predecessor_specification = models.ForeignKey('self', null=True, on_delete=models.DO_NOTHING,
related_name='successor', blank=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment