Merge lp:~james-w/canonical-identity-provider/faster-user-admin-queries into lp:canonical-identity-provider/release
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | James Westby |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1035 |
Proposed branch: | lp:~james-w/canonical-identity-provider/faster-user-admin-queries |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
29 lines (+6/-5) 1 file modified
src/identityprovider/migrations/0014_User_username_id_index.py (+6/-5) |
To merge this branch: | bzr merge lp:~james-w/canonical-identity-provider/faster-user-admin-queries |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby (community) | Approve | ||
Review via email: mp+182476@code.launchpad.net |
Commit message
Switch to using CREATE INDEX CONCURRENTLY.
Description of the change
Hi,
This moves to using CREATE INDEX CONCURRENTLY to avoid taking a lock
while making the index.
Thanks,
James
To post a comment you must log in.
Trivial.