]> git.mxchange.org Git - friendica.git/blob - doc/database/db_post-content.md
Pad the lengths of the columns
[friendica.git] / doc / database / db_post-content.md
1 Table post-content
2 ===========
3 Content for all posts
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 | title           | item title                                                                                                                | varchar(255) | NO  |     |      |  |    
9 | content-warning |                                                                                                                           | varchar(255) | NO  |     |      |  |    
10 | body            | item body content                                                                                                         | mediumtext   | YES |     | NULL |  |    
11 | raw-body        | Body without embedded media links                                                                                         | mediumtext   | YES |     | NULL |  |    
12 | location        | text location where this item originated                                                                                  | varchar(255) | NO  |     |      |  |    
13 | coord           | longitude/latitude pair representing location where this item originated                                                  | varchar(255) | NO  |     |      |  |    
14 | language        | Language information about this post                                                                                      | text         | YES |     | NULL |  |    
15 | app             | application which generated this item                                                                                     | varchar(255) | NO  |     |      |  |    
16 | rendered-hash   |                                                                                                                           | varchar(32)  | NO  |     |      |  |    
17 | rendered-html   | item.body converted to html                                                                                               | mediumtext   | YES |     | NULL |  |    
18 | object-type     | ActivityStreams object type                                                                                               | varchar(100) | NO  |     |      |  |    
19 | object          | JSON encoded object structure unless it is an implied object (normal post)                                                | text         | YES |     | NULL |  |    
20 | target-type     | ActivityStreams target type if applicable (URI)                                                                           | varchar(100) | NO  |     |      |  |    
21 | target          | JSON encoded target structure if used                                                                                     | text         | YES |     | NULL |  |    
22 | resource-id     | Used to link other tables to items, it identifies the linked resource (e.g. photo) and if set must also set resource_type | varchar(32)  | NO  |     |      |  |    
23 | plink           | permalink or URL to a displayable copy of the message at its source                                                       | varchar(255) | NO  |     |      |  |    
24
25 Return to [database documentation](help/database)