]> git.mxchange.org Git - friendica.git/blob - doc/database/db_post-media.md
bf5f1dfe52f3b2cc63e6f3a1350c54a39aa8189a
[friendica.git] / doc / database / db_post-media.md
1 Table post-media
2 ===========
3 Attached media
4
5 | Field | Description | Type | Null | Key | Default | Extra |
6 | ----- | ----------- | ---- | ---- | --- | ------- | ----- |
7 | id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |    
8 | uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | NO |  | NULL |  |    
9 | url | Media URL | varbinary(511) | NO |  | NULL |  |    
10 | type | Media type | tinyint unsigned | NO |  | 0 |  |    
11 | mimetype |  | varchar(60) | YES |  | NULL |  |    
12 | height | Height of the media | smallint unsigned | YES |  | NULL |  |    
13 | width | Width of the media | smallint unsigned | YES |  | NULL |  |    
14 | size | Media size | int unsigned | YES |  | NULL |  |    
15 | preview | Preview URL | varbinary(255) | YES |  | NULL |  |    
16 | preview-height | Height of the preview picture | smallint unsigned | YES |  | NULL |  |    
17 | preview-width | Width of the preview picture | smallint unsigned | YES |  | NULL |  |    
18 | description |  | text | YES |  | NULL |  |    
19 | name | Name of the media | varchar(255) | YES |  | NULL |  |    
20 | author-url | URL of the author of the media | varbinary(255) | YES |  | NULL |  |    
21 | author-name | Name of the author of the media | varchar(255) | YES |  | NULL |  |    
22 | author-image | Image of the author of the media | varbinary(255) | YES |  | NULL |  |    
23 | publisher-url | URL of the publisher of the media | varbinary(255) | YES |  | NULL |  |    
24 | publisher-name | Name of the publisher of the media | varchar(255) | YES |  | NULL |  |    
25 | publisher-image | Image of the publisher of the media | varbinary(255) | YES |  | NULL |  |    
26
27 Return to [database documentation](help/database)