]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_delayed-post.md
Merge pull request #12407 from HankG/friendica-api-photo-endpoint-updates
[friendica.git] / doc / database / db_delayed-post.md
index ab79f557a4714a228dc037500a55936974297c27..8ab3ff08e47cd7c16d69c5847f488d4afbbc1a09 100644 (file)
@@ -1,12 +1,34 @@
 Table delayed-post
 ===========
+
 Posts that are about to be distributed at a later time
 
-| 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 |                |    
-| uid     | Owner User id                                  | mediumint unsigned | YES |     | NULL |                |    
-| delayed | delay time                                     | datetime           | YES |     | NULL |                |    
+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 | 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)