1
0
Fork 0
friendica_2020-09-1_sharedH.../doc/database/db_conversation.md

31 lines
1.9 KiB
Markdown
Raw Normal View History

2017-04-29 10:11:54 +02:00
Table conversation
===========
2021-06-14 08:10:11 +02:00
Raw data and structure information for messages
2017-04-29 10:11:54 +02:00
2021-06-14 10:53:37 +02:00
Fields
------
2021-06-14 08:10:11 +02: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 10:11:54 +02:00
2021-06-14 10:53:37 +02:00
Indexes
------------
2021-06-14 14:15:10 +02:00
| Name | Fields |
| ---------------- | ---------------- |
| PRIMARY | item-uri |
2021-06-14 10:53:37 +02:00
| conversation-uri | conversation-uri |
2021-06-14 14:15:10 +02:00
| received | received |
2021-06-14 10:53:37 +02:00
2017-04-29 10:11:54 +02:00
Return to [database documentation](help/database)