mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 11:30:55 +01:00
Turns out MySQL tables need keys. Who knew?!
This commit is contained in:
parent
4f6bac95e9
commit
8218ca15b9
1 changed files with 29 additions and 0 deletions
29
resources/sql/patches/023.dxkeys.sql
Normal file
29
resources/sql/patches/023.dxkeys.sql
Normal 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);
|
Loading…
Reference in a new issue