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