mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
Paste - upgrade scheme to support queries by authorPHID
Test Plan: ran upgrade_schema.php on my local install. re-examined SQL query "explain select * from phabricator_pastebin.pastebin_paste where authorPHID = "PHID-USER-xee4ju2teq7mflitwfcs" ORDER BY id DESC;" on my local install and noted fewer rows scanned, index used, etc Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: 1218
This commit is contained in:
parent
c3e1ab0751
commit
d739d8ccd5
1 changed files with 2 additions and 0 deletions
2
resources/sql/patches/084.pasteauthorkey.sql
Normal file
2
resources/sql/patches/084.pasteauthorkey.sql
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
ALTER TABLE phabricator_pastebin.pastebin_paste
|
||||||
|
ADD KEY (authorPHID);
|
Loading…
Reference in a new issue