]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_notify-threads.md
Merge pull request #12593 from nupplaphil/feat/node.config.php
[friendica.git] / doc / database / db_notify-threads.md
index 0dd493975b72a013c01e1691dfd5c51840b7e6b7..82ed225f7dbefe4c64886c31111959249ddf2c52 100644 (file)
@@ -3,6 +3,9 @@ Table notify-threads
 
 
 
+Fields
+------
+
 | Field                | Description                                   | Type               | Null | Key | Default | Extra          |
 | -------------------- | --------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
 | id                   | sequential ID                                 | int unsigned       | NO   | PRI | NULL    | auto_increment |
@@ -12,4 +15,23 @@ Table notify-threads
 | 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)