@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

SQL patch for notification

Summary: Added `PhabricatorBuiltinPatchList` entry so that "storage upgrade" will update the database. Renamed and numbered the notification.sql patch.

Test Plan: Drop phabricator_feed.feed_storynotification table if it exists and run bin/storage upgrade to check if the patch is correctly applied.

Reviewers: epriestley, btrahan, allenjohnashton

Reviewed By: epriestley

CC: ddfisher, aran, Korvin

Differential Revision: https://secure.phabricator.com/D2687

authored by

Keebuhm Park and committed by
epriestley
207f101a 1d94d49c

+6 -2
+2 -2
resources/sql/patches/temp.notifications.sql resources/sql/patches/138.notification.sql
··· 1 - CREATE TABLE if not exists phabricator_feed.feed_storynotification ( 1 + CREATE TABLE {$NAMESPACE}_feed.feed_storynotification ( 2 2 userPHID varchar(64) not null collate utf8_bin, 3 3 primaryObjectPHID varchar(64) not null collate utf8_bin, 4 4 chronologicalKey BIGINT UNSIGNED NOT NULL, 5 5 hasViewed boolean not null, 6 6 UNIQUE KEY (userPHID, chronologicalKey), 7 7 KEY (userPHID, hasViewed, primaryObjectPHID) 8 - ); 8 + ) ENGINE=InnoDB, COLLATE utf8_general_ci;
+4
src/infrastructure/setup/sql/PhabricatorBuiltinPatchList.php
··· 851 851 'name' => $this->getPatchPath('137.auditmetadata.sql'), 852 852 'legacy' => 137, 853 853 ), 854 + '138.notification.sql' => array( 855 + 'type' => 'sql', 856 + 'name' => $this->getPatchPath('138.notification.sql'), 857 + ), 854 858 'holidays.sql' => array( 855 859 'type' => 'sql', 856 860 'name' => $this->getPatchPath('holidays.sql'),