1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 22:40:55 +01:00
phorge-phorge/resources/sql/patches/050.taskdenormal.sql

21 lines
554 B
MySQL
Raw Normal View History

ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD ownerOrdering varchar(64);
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD UNIQUE KEY (phid);
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD KEY (priority, status);
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD KEY (status);
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD KEY (ownerPHID, status);
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD KEY (authorPHID, status);
ALTER TABLE {$NAMESPACE}_maniphest.maniphest_task
ADD KEY (ownerOrdering);