From 7e1ebf618f12d6a6a1d3f8d76e49848e1cfaa52f Mon Sep 17 00:00:00 2001
From: Tanner Prestegard <tanner.prestegard@ligo.org>
Date: Thu, 11 Oct 2018 14:28:06 -0500
Subject: [PATCH] Remove unused DEFAULT_PIPELINE_ID in events.models

---
 gracedb/events/models.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gracedb/events/models.py b/gracedb/events/models.py
index e4dcb6012..862da5be1 100644
--- a/gracedb/events/models.py
+++ b/gracedb/events/models.py
@@ -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)
 
-- 
GitLab