Merge branch 'develop' of https://github.com/friendica/friendica into develop
[friendica.git/.git] / doc / database / db_post-user-notification.md
1 Table post-user-notification
2 ===========
3
4 User post notifications
5
6 Fields
7 ------
8
9 | Field             | Description                                               | Type               | Null | Key | Default | Extra |
10 | ----------------- | --------------------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
11 | uri-id            | Id of the item-uri table entry that contains the item uri | int unsigned       | NO   | PRI | NULL    |       |
12 | uid               | Owner id which owns this copy of the item                 | mediumint unsigned | NO   | PRI | NULL    |       |
13 | notification-type |                                                           | smallint unsigned  | NO   |     | 0       |       |
14
15 Indexes
16 ------------
17
18 | Name    | Fields      |
19 | ------- | ----------- |
20 | PRIMARY | uid, uri-id |
21 | uri-id  | uri-id      |
22
23 Foreign Keys
24 ------------
25
26 | Field | Target Table | Target Field |
27 |-------|--------------|--------------|
28 | uri-id | [item-uri](help/database/db_item-uri) | id |
29 | uid | [user](help/database/db_user) | uid |
30
31 Return to [database documentation](help/database)