Merge lp:~stub/launchpad/garbo-bulk-pruner into lp:launchpad
Proposed by
Stuart Bishop
Status: | Merged |
---|---|
Approved by: | William Grant |
Approved revision: | no longer in the source branch. |
Merged at revision: | 14630 |
Proposed branch: | lp:~stub/launchpad/garbo-bulk-pruner |
Merge into: | lp:launchpad |
Prerequisite: | lp:~stub/launchpad/garbo |
Diff against target: |
191 lines (+34/-35) 3 files modified
database/schema/security.cfg (+3/-2) lib/lp/scripts/garbo.py (+29/-1) lib/lp/scripts/tests/test_garbo.py (+2/-32) |
To merge this branch: | bzr merge lp:~stub/launchpad/garbo-bulk-pruner |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+87461@code.launchpad.net |
Commit message
[r=wgrant][no-qa] Trash EmailAddress and Account records not linked to a Person.
Description of the change
Trash EmailAddress and Account records not linked to a Person. With this, we can drop the redundant EmailAddress.
To post a comment you must log in.
22:42:25 < wgrant> stub: What does SELECT COUNT(*) FROM emailaddress JOIN person ON person.id = emailaddress.person WHERE
emailaddre ss.account IS DISTINCT FROM person.account; say on prod?
22:42:55 < wgrant> s/IS DISTINCT FROM/!=/ was 0 yesterday, but this is probably closer to what we actually care about.
22:46:53 < stub> wgrant: 0