X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_post-media.md;h=e17a04e5fbb8d7421a4a414f070cdb3a0d982658;hb=a2532ad7554602d631d9caabb5c74564328d1fff;hp=e1e299f02e686442ca5ab7eac735d76f3b8d447c;hpb=2cd0c1d30d237806e9c3853aa0645f786e31855c;p=friendica.git diff --git a/doc/database/db_post-media.md b/doc/database/db_post-media.md index e1e299f02e..e17a04e5fb 100644 --- a/doc/database/db_post-media.md +++ b/doc/database/db_post-media.md @@ -3,6 +3,9 @@ Table post-media Attached media +Fields +------ + | Field | Description | Type | Null | Key | Default | Extra | | --------------- | --------------------------------------------------------- | ----------------- | ---- | --- | ------- | -------------- | | id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment | @@ -25,4 +28,19 @@ Attached media | publisher-name | Name of the publisher of the media | varchar(255) | YES | | NULL | | | publisher-image | Image of the publisher of the media | varbinary(255) | YES | | NULL | | +Indexes +------------ + +| Name | Fields | +| ---------- | ------------------- | +| PRIMARY | id | +| uri-id-url | UNIQUE, uri-id, url | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| uri-id | [item-uri](help/database/db_item-uri) | id | + Return to [database documentation](help/database)