X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_post-thread.md;h=96fd0d42756e3bc7774c07ebe0d99f9c719e5ada;hb=83d3ce0802d2a2e2717f580f606d1f5211f23edd;hp=8b847e628303f3c78e21f26bc276156dc56b502b;hpb=2cd0c1d30d237806e9c3853aa0645f786e31855c;p=friendica.git diff --git a/doc/database/db_post-thread.md b/doc/database/db_post-thread.md index 8b847e6283..96fd0d4275 100644 --- a/doc/database/db_post-thread.md +++ b/doc/database/db_post-thread.md @@ -3,6 +3,9 @@ Table post-thread Thread related data +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 | | @@ -15,4 +18,26 @@ Thread related data | changed | Date that something in the conversation changed, indicating clients should fetch the conversation again | datetime | NO | | 0001-01-01 00:00:00 | | | commented | | datetime | NO | | 0001-01-01 00:00:00 | | +Indexes +------------ + +| Name | Fields | +| --------- | --------- | +| PRIMARY | uri-id | +| owner-id | owner-id | +| author-id | author-id | +| causer-id | causer-id | +| received | received | +| commented | commented | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| uri-id | [item-uri](help/database/db_item-uri) | id | +| owner-id | [contact](help/database/db_contact) | id | +| author-id | [contact](help/database/db_contact) | id | +| causer-id | [contact](help/database/db_contact) | id | + Return to [database documentation](help/database)