]> git.mxchange.org Git - friendica.git/blob - doc/database/db_notify-threads.md
Merge remote-tracking branch 'upstream/2021.06-rc' into issue-10386
[friendica.git] / doc / database / db_notify-threads.md
1 Table notify-threads
2 ===========
3
4
5
6 Fields
7 ------
8
9 | Field                | Description                                   | Type               | Null | Key | Default | Extra          |
10 | -------------------- | --------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
11 | id                   | sequential ID                                 | int unsigned       | NO   | PRI | NULL    | auto_increment |
12 | notify-id            |                                               | int unsigned       | NO   |     | 0       |                |
13 | master-parent-item   | Deprecated                                    | int unsigned       | YES  |     | NULL    |                |
14 | master-parent-uri-id | Item-uri id of the parent of the related post | int unsigned       | YES  |     | NULL    |                |
15 | parent-item          |                                               | int unsigned       | NO   |     | 0       |                |
16 | receiver-uid         | User id                                       | mediumint unsigned | NO   |     | 0       |                |
17
18 Indexes
19 ------------
20
21 | Name                 | Fields               |
22 | -------------------- | -------------------- |
23 | PRIMARY              | id                   |
24 | master-parent-uri-id | master-parent-uri-id |
25 | receiver-uid         | receiver-uid         |
26 | notify-id            | notify-id            |
27
28 Foreign Keys
29 ------------
30
31 | Field | Target Table | Target Field |
32 |-------|--------------|--------------|
33 | notify-id | [notify](help/database/db_notify) | id |
34 | master-parent-uri-id | [item-uri](help/database/db_item-uri) | id |
35 | receiver-uid | [user](help/database/db_user) | uid |
36
37 Return to [database documentation](help/database)