Closed Bug 647346 Opened 15 years ago Closed 15 years ago

flaggings field should have db_index=True

Categories

(Websites Graveyard :: markup.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wenzel, Assigned: adam)

Details

At least one view has this: all_marks = Mark.objects.exclude(flaggings__gte=1) The flaggings field should have a DB index. In fact, a typical run of the app should now produce any queries that are inefficient.
from our team: [master b7fc417] adding indexes for integer / datetime columns 2 files changed, 65 insertions(+), 3 deletions(-)
(In reply to comment #1) > from our team: > > [master b7fc417] adding indexes for integer / datetime columns > 2 files changed, 65 insertions(+), 3 deletions(-) Please link to your commits; thanks.
Assignee: nobody → adam
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Fred (or anyone else), does the commit (comment 3) resolve this for the group?
Yup.
Status: RESOLVED → VERIFIED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.