mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-22 11:39:03 +01:00
9 lines
346 B
MySQL
9 lines
346 B
MySQL
|
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)
|
||
|
);
|