Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LDV Specification
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
LDV Specification
Commits
0c645066
Commit
0c645066
authored
2 years ago
by
Fanna Lautenbach
Browse files
Options
Downloads
Patches
Plain Diff
set blank for fields that are auto filled
parent
63fb5697
No related branches found
No related tags found
1 merge request
!68
set blank for fields that are auto filled
Pipeline
#42630
passed
2 years ago
Stage: test
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ldvspec/lofardata/migrations/0016_alter_workspecification_inputs_and_more.py
+24
-0
24 additions, 0 deletions
...igrations/0016_alter_workspecification_inputs_and_more.py
ldvspec/lofardata/models.py
+2
-2
2 additions, 2 deletions
ldvspec/lofardata/models.py
with
26 additions
and
2 deletions
ldvspec/lofardata/migrations/0016_alter_workspecification_inputs_and_more.py
0 → 100644
+
24
−
0
View file @
0c645066
# 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
),
),
]
This diff is collapsed.
Click to expand it.
ldvspec/lofardata/models.py
+
2
−
2
View file @
0c645066
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment