Merge lp:~cr3/launchpad/hwsubmissionset_search into lp:launchpad/db-devel
Proposed by
Marc Tardif
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Robert Collins | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 10711 | ||||
Proposed branch: | lp:~cr3/launchpad/hwsubmissionset_search | ||||
Merge into: | lp:launchpad/db-devel | ||||
Diff against target: |
324 lines (+241/-3) 6 files modified
database/schema/patch-2208-73-2.sql (+12/-0) lib/canonical/launchpad/interfaces/_schema_circular_imports.py (+1/-1) lib/canonical/launchpad/systemhomes.py (+13/-0) lib/lp/hardwaredb/interfaces/hwdb.py (+110/-1) lib/lp/hardwaredb/model/hwdb.py (+11/-1) lib/lp/hardwaredb/stories/webservice/xx-hwdb.txt (+94/-0) |
||||
To merge this branch: | bzr merge lp:~cr3/launchpad/hwsubmissionset_search | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Stuart Bishop (community) | db | Approve | |
Canonical Launchpad Engineering | Pending | ||
Review via email: mp+63768@code.launchpad.net |
Commit message
[r=lifeless,stub][bug=801334] Exposing IHWSubmissionSe
Description of the change
Added two indexes to the hwsubmission table to account for searching hwsubmissions by date_created and date_submitted respectively. No sampledata was necessary.
To post a comment you must log in.
Minor typo - the second index has '_idx' in its name instead of '__idx' with two underscores.
Otherwise fine. patch-2208-74-0.sql
Rename the db patch to that name, change the LaunchpadDataba seRevision line to match and you are good to land from a db pov.