X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_post-user-notification.md;h=8f9925b19c54d52c1b1a841c5785e3d7e85b9bf4;hb=2f3f41ed9cdb4229d78bdf2f91b0617403a8dd62;hp=4ceea2a6832da6d35af01d5d1d9c0e1e99e94a8a;hpb=84ab5d61594ed92e0e28415d6c33df267a3636c5;p=friendica.git diff --git a/doc/database/db_post-user-notification.md b/doc/database/db_post-user-notification.md index 4ceea2a683..8f9925b19c 100644 --- a/doc/database/db_post-user-notification.md +++ b/doc/database/db_post-user-notification.md @@ -1,11 +1,31 @@ Table post-user-notification =========== + User post notifications -| Field | Description | Type | Null | Key | Default | Extra | -| ----- | ----------- | ---- | ---- | --- | ------- | ----- | -| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | YES | PRI | | | -| uid | Owner id which owns this copy of the item | mediumint unsigned | YES | PRI | | | -| notification-type | | tinyint unsigned | YES | | 0 | | +Fields +------ + +| Field | Description | Type | Null | Key | Default | Extra | +| ----------------- | --------------------------------------------------------- | ------------------ | ---- | --- | ------- | ----- | +| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | NO | PRI | NULL | | +| uid | Owner id which owns this copy of the item | mediumint unsigned | NO | PRI | NULL | | +| notification-type | | smallint unsigned | NO | | 0 | | + +Indexes +------------ + +| Name | Fields | +| ------- | ----------- | +| PRIMARY | uid, uri-id | +| uri-id | uri-id | + +Foreign Keys +------------ + +| Field | Target Table | Target Field | +|-------|--------------|--------------| +| uri-id | [item-uri](help/database/db_item-uri) | id | +| uid | [user](help/database/db_user) | uid | Return to [database documentation](help/database)