X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_notification.md;h=a2f319ead4d73bf4269c73f72ce51b282b2d645a;hb=a275f0a719c605e358334833a3a9d49a310f2389;hp=ff059c344fe720cb75e1357bb79df6c7dbbba465;hpb=5211c12b0c752f186c1358d9347c24838725120a;p=friendica.git diff --git a/doc/database/db_notification.md b/doc/database/db_notification.md index ff059c344f..a2f319ead4 100644 --- a/doc/database/db_notification.md +++ b/doc/database/db_notification.md @@ -11,12 +11,13 @@ Fields | id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment | | uid | Owner User id | mediumint unsigned | YES | | NULL | | | vid | Id of the verb table entry that contains the activity verbs | smallint unsigned | YES | | NULL | | -| type | | tinyint unsigned | YES | | NULL | | +| type | | smallint unsigned | YES | | NULL | | | actor-id | Link to the contact table with uid=0 of the actor that caused the notification | int unsigned | YES | | NULL | | | target-uri-id | Item-uri id of the related post | int unsigned | YES | | NULL | | | parent-uri-id | Item-uri id of the parent of the related post | int unsigned | YES | | NULL | | | created | | datetime | YES | | NULL | | -| seen | | boolean | YES | | 0 | | +| seen | Seen on the desktop | boolean | YES | | 0 | | +| dismissed | Dismissed via the API | boolean | YES | | 0 | | Indexes ------------ @@ -30,6 +31,7 @@ Indexes | target-uri-id | target-uri-id | | parent-uri-id | parent-uri-id | | seen_uid | seen, uid | +| uid_type_parent-uri-id_actor-id | uid, type, parent-uri-id, actor-id | Foreign Keys ------------