1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 03:42:41 +01:00
phorge-phorge/resources/sql/patches/023.dxkeys.sql

30 lines
841 B
MySQL
Raw Normal View History

ALTER TABLE {$NAMESPACE}_differential.differential_changeset
ADD KEY (diffID);
ALTER TABLE {$NAMESPACE}_differential.differential_comment
ADD KEY (revisionID);
ALTER TABLE {$NAMESPACE}_differential.differential_diff
ADD KEY (revisionID);
ALTER TABLE {$NAMESPACE}_differential.differential_inlinecomment
ADD KEY (changesetID);
ALTER TABLE {$NAMESPACE}_differential.differential_inlinecomment
ADD KEY (commentID);
ALTER TABLE {$NAMESPACE}_differential.differential_hunk
ADD KEY (changesetID);
ALTER TABLE {$NAMESPACE}_herald.herald_transcript
ADD KEY (objectPHID);
ALTER TABLE {$NAMESPACE}_differential.differential_revision
ADD KEY (authorPHID, status);
ALTER TABLE {$NAMESPACE}_differential.differential_revision
ADD UNIQUE KEY (phid);
ALTER TABLE {$NAMESPACE}_metamta.metamta_mailinglist
ADD UNIQUE KEY (phid);