mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 17:02:41 +01:00
49310391e0
Summary: People want to see all the tasks they have subscribed to in one view. A new table was added for this to make queries faster. Test Plan: Tested that the view was initially empty. After running the reindex_maniphest.php script, I saw the correct tasks there. Added myself as a subscriber to one task and made sure the view was updated. Removed myself as a subscriber from one task and made sure the view was updated again. Reviewed By: epriestley Reviewers: epriestley, jungejason, codeblock CC: aran, rm, epriestley Differential Revision: 603
6 lines
233 B
SQL
6 lines
233 B
SQL
CREATE TABLE phabricator_maniphest.maniphest_tasksubscriber (
|
|
taskPHID varchar(64) BINARY NOT NULL,
|
|
subscriberPHID varchar(64) BINARY NOT NULL,
|
|
PRIMARY KEY (subscriberPHID, taskPHID),
|
|
UNIQUE KEY (taskPHID, subscriberPHID)
|
|
);
|