Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
Add Task.status index to the model
Browse files Browse the repository at this point in the history
Summary: Informs the model of the index added in D233244.

Test Plan: None

Reviewers: naphat

Reviewed By: naphat

Subscribers: changesbot, anupc

Differential Revision: https://tails.corp.dropbox.com/D233384
  • Loading branch information
kylec1 committed Oct 4, 2016
1 parent 3523796 commit 56d4d69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions changes/models/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class Task(db.Model):
Index('idx_task_child_id', 'child_id', 'task_name'),
Index('idx_task_date_created', 'date_created'),
UniqueConstraint('task_name', 'parent_id', 'child_id', name='unq_task_entity'),
Index('idx_task_status', 'status'),
)

id = Column(GUID, primary_key=True, default=uuid.uuid4)
Expand Down

0 comments on commit 56d4d69

Please sign in to comment.