friendica-github/doc/database/db_conversation.md

31 lines
1.9 KiB
Markdown
Raw Normal View History

2017-04-29 08:11:54 +00:00
Table conversation
===========
2021-06-14 06:10:11 +00:00
Raw data and structure information for messages
2017-04-29 08:11:54 +00:00
2021-06-14 08:53:37 +00:00
Fields
------
2021-06-14 06:10:11 +00:00
| Field | Description | Type | Null | Key | Default | Extra |
| ----------------- | -------------------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | ----- |
| item-uri | Original URI of the item - unrelated to the table with the same name | varbinary(255) | NO | PRI | NULL | |
| reply-to-uri | URI to which this item is a reply | varbinary(255) | NO | | | |
| conversation-uri | GNU Social conversation URI | varbinary(255) | NO | | | |
| conversation-href | GNU Social conversation link | varbinary(255) | NO | | | |
| protocol | The protocol of the item | tinyint unsigned | NO | | 255 | |
| direction | How the message arrived here: 1=push, 2=pull | tinyint unsigned | NO | | 0 | |
| source | Original source | mediumtext | YES | | NULL | |
| received | Receiving date | datetime | NO | | 0001-01-01 00:00:00 | |
2017-04-29 08:11:54 +00:00
2021-06-14 08:53:37 +00:00
Indexes
------------
2021-06-14 12:15:10 +00:00
| Name | Fields |
| ---------------- | ---------------- |
| PRIMARY | item-uri |
2021-06-14 08:53:37 +00:00
| conversation-uri | conversation-uri |
2021-06-14 12:15:10 +00:00
| received | received |
2021-06-14 08:53:37 +00:00
2017-04-29 08:11:54 +00:00
Return to [database documentation](help/database)