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