]> git.mxchange.org Git - friendica.git/blob - doc/database/db_notification.md
Trailing whitespace removed
[friendica.git] / doc / database / db_notification.md
1 Table notification
2 ===========
3
4 notifications
5
6 | Field         | Description                                                                    | Type               | Null | Key | Default | Extra          |
7 | ------------- | ------------------------------------------------------------------------------ | ------------------ | ---- | --- | ------- | -------------- |
8 | id            | sequential ID                                                                  | int unsigned       | NO   | PRI | NULL    | auto_increment |
9 | uid           | Owner User id                                                                  | mediumint unsigned | YES  |     | NULL    |                |
10 | vid           | Id of the verb table entry that contains the activity verbs                    | smallint unsigned  | YES  |     | NULL    |                |
11 | type          |                                                                                | tinyint unsigned   | YES  |     | NULL    |                |
12 | actor-id      | Link to the contact table with uid=0 of the actor that caused the notification | int unsigned       | YES  |     | NULL    |                |
13 | target-uri-id | Item-uri id of the related post                                                | int unsigned       | YES  |     | NULL    |                |
14 | parent-uri-id | Item-uri id of the parent of the related post                                  | int unsigned       | YES  |     | NULL    |                |
15 | created       |                                                                                | datetime           | YES  |     | NULL    |                |
16 | seen          |                                                                                | boolean            | YES  |     | 0       |                |
17
18 Return to [database documentation](help/database)