Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Michael William Coughlin
GraceDB Server
Commits
7e1ebf61
Commit
7e1ebf61
authored
6 years ago
by
Tanner Prestegard
Committed by
GraceDB
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused DEFAULT_PIPELINE_ID in events.models
parent
abb2f782
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gracedb/events/models.py
+0
-2
0 additions, 2 deletions
gracedb/events/models.py
with
0 additions
and
2 deletions
gracedb/events/models.py
+
0
−
2
View file @
7e1ebf61
...
@@ -109,7 +109,6 @@ class Label(models.Model):
...
@@ -109,7 +109,6 @@ class Label(models.Model):
# exists (example: an advocate signoff exists and ADVOK or ADVNO is
# exists (example: an advocate signoff exists and ADVOK or ADVNO is
# applied, but a user tries to apply 'ADVREQ')
# applied, but a user tries to apply 'ADVREQ')
pass
pass
DEFAULT_PIPELINE_ID
=
1
class
Event
(
models
.
Model
):
class
Event
(
models
.
Model
):
...
@@ -145,7 +144,6 @@ class Event(models.Model):
...
@@ -145,7 +144,6 @@ class Event(models.Model):
# that creates this column. After that, we can safely remove it.
# 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
# The presence or absence of the default value has no effect on the DB
# tables, so removing it does not necessitate a migration.
# tables, so removing it does not necessitate a migration.
#pipeline = models.ForeignKey(Pipeline, default=DEFAULT_PIPELINE_ID)
pipeline
=
models
.
ForeignKey
(
Pipeline
)
pipeline
=
models
.
ForeignKey
(
Pipeline
)
search
=
models
.
ForeignKey
(
Search
,
null
=
True
)
search
=
models
.
ForeignKey
(
Search
,
null
=
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