Merge lp:~intellectronica/launchpad/update-max-heat into lp:launchpad/db-devel
Proposed by
Eleanor Berger
on 2010-02-26
| Status: | Rejected |
|---|---|
| Rejected by: | Eleanor Berger on 2010-02-26 |
| Proposed branch: | lp:~intellectronica/launchpad/update-max-heat |
| Merge into: | lp:launchpad/db-devel |
| Diff against target: |
151 lines (+139/-0) 2 files modified
database/schema/patch-2207-99-0.sql (+17/-0) database/schema/trusted.sql (+122/-0) |
| To merge this branch: | bzr merge lp:~intellectronica/launchpad/update-max-heat |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Stuart Bishop | db | 2010-02-26 | Needs Fixing on 2010-02-26 |
|
Review via email:
|
|||
To post a comment you must log in.
| Eleanor Berger (intellectronica) wrote : | # |
| Stuart Bishop (stub) wrote : | # |
When BugTasks are created or retargetted, the maximums need to be recalculated too (both for the old target and the new target). I don't think we delete BugTasks so we don't need to cope with that case.
The Distribution.
review:
Needs Fixing
(db)
| Stuart Bishop (stub) wrote : | # |
Similarly, only one of product and productseries is ever set.
| Eleanor Berger (intellectronica) wrote : | # |
Getting rid of this for now. After taking into consideration all those additional rules, a trigger doesn't really make much sense.

This branch adds a trigger which updates the max_bug_heat column on bug targets.