1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00

Turns out MySQL tables need keys. Who knew?!

This commit is contained in:
epriestley 2011-04-09 22:19:10 -07:00
parent 4f6bac95e9
commit 8218ca15b9

View file

@ -0,0 +1,29 @@
ALTER TABLE phabricator_differential.differential_changeset
ADD KEY (diffID);
ALTER TABLE phabricator_differential.differential_comment
ADD KEY (revisionID);
ALTER TABLE phabricator_differential.differential_diff
ADD KEY (revisionID);
ALTER TABLE phabricator_differential.differential_inlinecomment
ADD KEY (changesetID);
ALTER TABLE phabricator_differential.differential_inlinecomment
ADD KEY (commentID);
ALTER TABLE phabricator_differential.differential_hunk
ADD KEY (changesetID);
ALTER TABLE phabricator_herald.herald_transcript
ADD KEY (objectPHID);
ALTER TABLE phabricator_differential.differential_revision
ADD KEY (authorPHID, status);
ALTER TABLE phabricator_differential.differential_revision
ADD UNIQUE KEY (phid);
ALTER TABLE phabricator_metamta.metamta_mailinglist
ADD UNIQUE KEY (phid);