X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_conv.md;h=69815fae7db6e11408b9b464f21406975700f539;hb=2f3f41ed9cdb4229d78bdf2f91b0617403a8dd62;hp=8cf835b7e3866689728f08340d132fcf8cbb59c7;hpb=fd30df7300d9de5b2316b86ccc38053cec69dfe1;p=friendica.git diff --git a/doc/database/db_conv.md b/doc/database/db_conv.md index 8cf835b7e3..69815fae7d 100644 --- a/doc/database/db_conv.md +++ b/doc/database/db_conv.md @@ -1,16 +1,35 @@ Table conv =========== + private messages -| Field | Description | Type | Null | Key | Default | Extra | -| ------- | ----------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- | -| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment | -| guid | A unique identifier for this conversation | varchar(255) | NO | | | | -| recips | sender_handle;recipient_handle | text | YES | | NULL | | -| uid | Owner User id | mediumint unsigned | NO | | 0 | | -| creator | handle of creator | varchar(255) | NO | | | | -| created | creation timestamp | datetime | NO | | 0001-01-01 00:00:00 | | -| updated | edited timestamp | datetime | NO | | 0001-01-01 00:00:00 | | -| subject | subject of initial message | text | YES | | NULL | | +Fields +------ + +| Field | Description | Type | Null | Key | Default | Extra | +| ------- | ----------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- | +| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment | +| guid | A unique identifier for this conversation | varbinary(255) | NO | | | | +| recips | sender_handle;recipient_handle | text | YES | | NULL | | +| uid | Owner User id | mediumint unsigned | NO | | 0 | | +| creator | handle of creator | varchar(255) | NO | | | | +| created | creation timestamp | datetime | NO | | 0001-01-01 00:00:00 | | +| updated | edited timestamp | datetime | NO | | 0001-01-01 00:00:00 | | +| subject | subject of initial message | text | YES | | NULL | | + +Indexes +------------ + +| Name | Fields | +| ------- | ------ | +| PRIMARY | id | +| uid | uid | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| uid | [user](help/database/db_user) | uid | Return to [database documentation](help/database)