]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_notify-threads.md
spelling: exception
[friendica.git] / doc / database / db_notify-threads.md
index 18c443444c561fa7f2d6b6921a941fbde44c7535..82ed225f7dbefe4c64886c31111959249ddf2c52 100644 (file)
@@ -2,13 +2,36 @@ Table notify-threads
 ===========
 
 
-| Field | Description | Type | Null | Key | Default | Extra |
-| ----- | ----------- | ---- | ---- | --- | ------- | ----- |
-| id | sequential ID | int unsigned | YES | PRI | NULL | auto_increment |    
-| notify-id |  | int unsigned | YES |  | 0 |  |    
-| master-parent-item | Deprecated | int unsigned | NO |  | NULL |  |    
-| master-parent-uri-id | Item-uri id of the parent of the related post | int unsigned | NO |  | NULL |  |    
-| parent-item |  | int unsigned | YES |  | 0 |  |    
-| receiver-uid | User id | mediumint unsigned | YES |  | 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)