Adds base notification application
Summary: First diff in a series of diffs to add notifications to Phabricator. This is the notification application ONLY. This commit does not include the changes to other applications that makes them add notifications. As such, no notifications will be generated beyond the initial database import. Test Plan: This is part of the notifications architecture which has been running on http://theoryphabricator.com for the past several months. Reviewers: epriestley, btrahan, ddfisher Reviewed By: epriestley CC: allenjohnashton, keebuhm, aran, Korvin, jungejason, nh Maniphest Tasks: T974 Differential Revision: https://secure.phabricator.com/D2571
This commit is contained in:
committed by
epriestley
parent
692296a4d4
commit
3a6ee79190
8
resources/sql/patches/temp.notifications.sql
Normal file
8
resources/sql/patches/temp.notifications.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE if not exists phabricator_feed.feed_storynotification (
|
||||
userPHID varchar(64) not null collate utf8_bin,
|
||||
primaryObjectPHID varchar(64) not null collate utf8_bin,
|
||||
chronologicalKey BIGINT UNSIGNED NOT NULL,
|
||||
hasViewed boolean not null,
|
||||
UNIQUE KEY (userPHID, chronologicalKey),
|
||||
KEY (userPHID, hasViewed, primaryObjectPHID)
|
||||
);
|
||||
Reference in New Issue
Block a user