X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_mail.md;h=2b588b4d74c1e3172ea87e2c390cca2d99d6411b;hb=437c230a6f52d4df22168bff857e66511a315f1e;hp=460c03bf6adb6a4947dd7d481344344e3dcb69b1;hpb=7106106f11ca1212351e785c6bd4c1f8e343d82c;p=friendica.git diff --git a/doc/database/db_mail.md b/doc/database/db_mail.md index 460c03bf6a..2b588b4d74 100644 --- a/doc/database/db_mail.md +++ b/doc/database/db_mail.md @@ -10,11 +10,11 @@ Fields | ------------- | -------------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- | | id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment | | uid | Owner User id | mediumint unsigned | NO | | 0 | | -| guid | A unique identifier for this private message | varchar(255) | NO | | | | +| guid | A unique identifier for this private message | varbinary(255) | NO | | | | | from-name | name of the sender | varchar(255) | NO | | | | -| from-photo | contact photo link of the sender | varchar(255) | NO | | | | -| from-url | profile linke of the sender | varchar(255) | NO | | | | -| contact-id | contact.id | varchar(255) | YES | | NULL | | +| from-photo | contact photo link of the sender | varbinary(383) | NO | | | | +| from-url | profile linke of the sender | varbinary(383) | NO | | | | +| contact-id | contact.id | varbinary(255) | YES | | NULL | | | author-id | Link to the contact table with uid=0 of the author of the mail | int unsigned | YES | | NULL | | | convid | conv.id | int unsigned | YES | | NULL | | | title | | varchar(255) | NO | | | | @@ -23,11 +23,11 @@ Fields | reply | | boolean | NO | | 0 | | | replied | | boolean | NO | | 0 | | | unknown | if sender not in the contact table this is 1 | boolean | NO | | 0 | | -| uri | | varchar(255) | NO | | | | +| uri | | varbinary(383) | NO | | | | | uri-id | Item-uri id of the related mail | int unsigned | YES | | NULL | | -| parent-uri | | varchar(255) | NO | | | | +| parent-uri | | varbinary(383) | NO | | | | | parent-uri-id | Item-uri id of the parent of the related mail | int unsigned | YES | | NULL | | -| thr-parent | | varchar(255) | YES | | NULL | | +| thr-parent | | varbinary(383) | YES | | NULL | | | thr-parent-id | Id of the item-uri table that contains the thread parent uri | int unsigned | YES | | NULL | | | created | creation time of the private message | datetime | NO | | 0001-01-01 00:00:00 | |