]> git.mxchange.org Git - friendica.git/blob - doc/database/db_post-thread-user.md
Pad the header
[friendica.git] / doc / database / db_post-thread-user.md
1 Table post-thread-user
2 ===========
3 Thread related data per user
4
5 | Field        | Description                                                                                             | Type               | Null | Key | Default             | Extra |    
6 | ------------ | ------------------------------------------------------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | ----- |    
7 | uri-id       | Id of the item-uri table entry that contains the item uri                                               | int unsigned       | NO   | PRI | NULL                |       |    
8 | owner-id     | Item owner                                                                                              | int unsigned       | NO   |     | 0                   |       |    
9 | author-id    | Item author                                                                                             | int unsigned       | NO   |     | 0                   |       |    
10 | causer-id    | Link to the contact table with uid=0 of the contact that caused the item creation                       | int unsigned       | YES  |     | NULL                |       |    
11 | network      |                                                                                                         | char(4)            | NO   |     |                     |       |    
12 | created      |                                                                                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |       |    
13 | received     |                                                                                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |       |    
14 | changed      | Date that something in the conversation changed, indicating clients should fetch the conversation again | datetime           | NO   |     | 0001-01-01 00:00:00 |       |    
15 | commented    |                                                                                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |       |    
16 | uid          | Owner id which owns this copy of the item                                                               | mediumint unsigned | NO   | PRI | 0                   |       |    
17 | pinned       | The thread is pinned on the profile page                                                                | boolean            | NO   |     | 0                   |       |    
18 | starred      |                                                                                                         | boolean            | NO   |     | 0                   |       |    
19 | ignored      | Ignore updates for this thread                                                                          | boolean            | NO   |     | 0                   |       |    
20 | wall         | This item was posted to the wall of uid                                                                 | boolean            | NO   |     | 0                   |       |    
21 | mention      |                                                                                                         | boolean            | NO   |     | 0                   |       |    
22 | pubmail      |                                                                                                         | boolean            | NO   |     | 0                   |       |    
23 | forum_mode   |                                                                                                         | tinyint unsigned   | NO   |     | 0                   |       |    
24 | contact-id   | contact.id                                                                                              | int unsigned       | NO   |     | 0                   |       |    
25 | unseen       | post has not been seen                                                                                  | boolean            | NO   |     | 1                   |       |    
26 | hidden       | Marker to hide the post from the user                                                                   | boolean            | NO   |     | 0                   |       |    
27 | origin       | item originated at this site                                                                            | boolean            | NO   |     | 0                   |       |    
28 | psid         | ID of the permission set of this post                                                                   | int unsigned       | YES  |     | NULL                |       |    
29 | post-user-id | Id of the post-user table                                                                               | int unsigned       | YES  |     | NULL                |       |    
30
31 Return to [database documentation](help/database)