Skip to content
Snippets Groups Projects
Commit 7e1ebf61 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Remove unused DEFAULT_PIPELINE_ID in events.models

parent abb2f782
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,6 @@ class Label(models.Model):
# exists (example: an advocate signoff exists and ADVOK or ADVNO is
# applied, but a user tries to apply 'ADVREQ')
pass
DEFAULT_PIPELINE_ID = 1
class Event(models.Model):
......@@ -145,7 +144,6 @@ class Event(models.Model):
# that creates this column. After that, we can safely remove it.
# The presence or absence of the default value has no effect on the DB
# tables, so removing it does not necessitate a migration.
#pipeline = models.ForeignKey(Pipeline, default=DEFAULT_PIPELINE_ID)
pipeline = models.ForeignKey(Pipeline)
search = models.ForeignKey(Search, null=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