]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_delayed-post.md
Merge pull request #10403 from annando/doc-structure
[friendica.git] / doc / database / db_delayed-post.md
index 0f1c2f5cf11e769238ec95fb7272705c0bc1e364..fe3251f70a620f417ccb1318ffda013ec3c592f8 100644 (file)
@@ -3,6 +3,9 @@ Table delayed-post
 
 Posts that are about to be distributed at a later time
 
+Fields
+------
+
 | Field   | Description                                    | Type               | Null | Key | Default | Extra          |
 | ------- | ---------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
 | id      |                                                | int unsigned       | NO   | PRI | NULL    | auto_increment |
@@ -10,4 +13,19 @@ Posts that are about to be distributed at a later time
 | uid     | Owner User id                                  | mediumint unsigned | YES  |     | NULL    |                |
 | delayed | delay time                                     | datetime           | YES  |     | NULL    |                |
 
+Indexes
+------------
+
+| Name    | Fields                |
+| ------- | --------------------- |
+| PRIMARY | id                    |
+| uid_uri | UNIQUE, uid, uri(190) |
+
+Foreign Keys
+------------
+
+| Field | Target Table | Target Field |
+|-------|--------------|--------------|
+| uid | [user](help/database/db_user) | uid |
+
 Return to [database documentation](help/database)