]> git.mxchange.org Git - friendica.git/blob - doc/database/db_post-content.md
Added default value "NULL"
[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 | YES | PRI | NULL |  |    
8 | title | item title | varchar(255) | YES |  |  |  |    
9 | content-warning |  | varchar(255) | YES |  |  |  |    
10 | body | item body content | mediumtext | NO |  | NULL |  |    
11 | raw-body | Body without embedded media links | mediumtext | NO |  | NULL |  |    
12 | location | text location where this item originated | varchar(255) | YES |  |  |  |    
13 | coord | longitude/latitude pair representing location where this item originated | varchar(255) | YES |  |  |  |    
14 | language | Language information about this post | text | NO |  | NULL |  |    
15 | app | application which generated this item | varchar(255) | YES |  |  |  |    
16 | rendered-hash |  | varchar(32) | YES |  |  |  |    
17 | rendered-html | item.body converted to html | mediumtext | NO |  | NULL |  |    
18 | object-type | ActivityStreams object type | varchar(100) | YES |  |  |  |    
19 | object | JSON encoded object structure unless it is an implied object (normal post) | text | NO |  | NULL |  |    
20 | target-type | ActivityStreams target type if applicable (URI) | varchar(100) | YES |  |  |  |    
21 | target | JSON encoded target structure if used | text | NO |  | 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) | YES |  |  |  |    
23 | plink | permalink or URL to a displayable copy of the message at its source | varchar(255) | YES |  |  |  |    
24
25 Return to [database documentation](help/database)