X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_notify-threads.md;h=82ed225f7dbefe4c64886c31111959249ddf2c52;hb=76c006d5603250b06db2c54ecdc9483af8d47b36;hp=24aba8093b7d9a4f01a9afb197ea686c5ef0bb22;hpb=4095e6c9be01943c3b074d9a9061a01ff5fafcee;p=friendica.git diff --git a/doc/database/db_notify-threads.md b/doc/database/db_notify-threads.md index 24aba8093b..82ed225f7d 100644 --- a/doc/database/db_notify-threads.md +++ b/doc/database/db_notify-threads.md @@ -2,13 +2,36 @@ Table notify-threads =========== -| Field | Description | Type | Null | Key | Default | Extra | -| ----- | ----------- | ---- | ---- | --- | ------- | ----- | -| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment | -| notify-id | | int unsigned | NO | | 0 | | -| master-parent-item | Deprecated | int unsigned | YES | | NULL | | -| master-parent-uri-id | Item-uri id of the parent of the related post | int unsigned | YES | | NULL | | -| parent-item | | int unsigned | NO | | 0 | | -| receiver-uid | User id | mediumint unsigned | NO | | 0 | | + +Fields +------ + +| Field | Description | Type | Null | Key | Default | Extra | +| -------------------- | --------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- | +| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment | +| notify-id | | int unsigned | NO | | 0 | | +| master-parent-item | Deprecated | int unsigned | YES | | NULL | | +| master-parent-uri-id | Item-uri id of the parent of the related post | int unsigned | YES | | NULL | | +| parent-item | | int unsigned | NO | | 0 | | +| receiver-uid | User id | mediumint unsigned | NO | | 0 | | + +Indexes +------------ + +| Name | Fields | +| -------------------- | -------------------- | +| PRIMARY | id | +| master-parent-uri-id | master-parent-uri-id | +| receiver-uid | receiver-uid | +| notify-id | notify-id | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| notify-id | [notify](help/database/db_notify) | id | +| master-parent-uri-id | [item-uri](help/database/db_item-uri) | id | +| receiver-uid | [user](help/database/db_user) | uid | Return to [database documentation](help/database)