X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_post-content.md;h=0addf43a31d5f83e84e333754a6450e05aac4a43;hb=a2532ad7554602d631d9caabb5c74564328d1fff;hp=4596a04a5601c3468a410dcd83c403432422cd94;hpb=2cd0c1d30d237806e9c3853aa0645f786e31855c;p=friendica.git diff --git a/doc/database/db_post-content.md b/doc/database/db_post-content.md index 4596a04a56..0addf43a31 100644 --- a/doc/database/db_post-content.md +++ b/doc/database/db_post-content.md @@ -3,6 +3,9 @@ Table post-content Content for all posts +Fields +------ + | Field | Description | Type | Null | Key | Default | Extra | | --------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------ | ---- | --- | ------- | ----- | | uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | NO | PRI | NULL | | @@ -23,4 +26,21 @@ Content for all posts | 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 | | | | | plink | permalink or URL to a displayable copy of the message at its source | varchar(255) | NO | | | | +Indexes +------------ + +| Name | Fields | +| -------------------------- | -------------------------------------- | +| PRIMARY | uri-id | +| plink | plink(191) | +| resource-id | resource-id | +| title-content-warning-body | FULLTEXT, title, content-warning, body | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| uri-id | [item-uri](help/database/db_item-uri) | id | + Return to [database documentation](help/database)