]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_delayed-post.md
Category added
[friendica.git] / doc / database / db_delayed-post.md
index 0f1c2f5cf11e769238ec95fb7272705c0bc1e364..8ab3ff08e47cd7c16d69c5847f488d4afbbc1a09 100644 (file)
@@ -3,11 +3,32 @@ 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 |
-| uri     | URI of the post that will be distributed later | varchar(255)       | YES  |     | NULL    |                |
+| uri     | URI of the post that will be distributed later | varbinary(383)     | YES  |     | NULL    |                |
 | uid     | Owner User id                                  | mediumint unsigned | YES  |     | NULL    |                |
 | delayed | delay time                                     | datetime           | YES  |     | NULL    |                |
+| wid     | Workerqueue id                                 | int unsigned       | YES  |     | NULL    |                |
+
+Indexes
+------------
+
+| Name    | Fields                |
+| ------- | --------------------- |
+| PRIMARY | id                    |
+| uid_uri | UNIQUE, uid, uri(190) |
+| wid     | wid                   |
+
+Foreign Keys
+------------
+
+| Field | Target Table | Target Field |
+|-------|--------------|--------------|
+| uid | [user](help/database/db_user) | uid |
+| wid | [workerqueue](help/database/db_workerqueue) | id |
 
 Return to [database documentation](help/database)