X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_conv.md;h=c1d50b5de587feeca1a4db8f4969d8b85e05c268;hb=51cc1f679f525c1ab3bea71c4c1026e1ad1386d4;hp=bcea6012d6f3dcfe30e858b2a68fe9d5c55e7c2e;hpb=84ab5d61594ed92e0e28415d6c33df267a3636c5;p=friendica.git diff --git a/doc/database/db_conv.md b/doc/database/db_conv.md index bcea6012d6..c1d50b5de5 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 | YES | PRI | | auto_increment | -| guid | A unique identifier for this conversation | varchar(255) | YES | | | | -| recips | sender_handle;recipient_handle | text | NO | | | | -| uid | Owner User id | mediumint unsigned | YES | | 0 | | -| creator | handle of creator | varchar(255) | YES | | | | -| created | creation timestamp | datetime | YES | | 0001-01-01 00:00:00 | | -| updated | edited timestamp | datetime | YES | | 0001-01-01 00:00:00 | | -| subject | subject of initial message | text | NO | | | | +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 | 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 | | + +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)