]> git.mxchange.org Git - friendica.git/blobdiff - static/dbstructure.config.php
Blanks replaced
[friendica.git] / static / dbstructure.config.php
index df0d469fce2c32d099e6686ceabd00eab8b0dbc6..44b2fc1f80fa5dff06e35e0799aab91dd25fe983 100644 (file)
@@ -55,7 +55,7 @@
 use Friendica\Database\DBA;
 
 if (!defined('DB_UPDATE_VERSION')) {
-       define('DB_UPDATE_VERSION', 1461);
+       define('DB_UPDATE_VERSION', 1462);
 }
 
 return [
@@ -1158,13 +1158,15 @@ return [
                ]
        ],
        "post-delivery" => [
-               "comment" => "Status of ActivityPub inboxes",
+               "comment" => "Delivery data for posts for the batch processing",
                "fields" => [
                        "uri-id" => ["type" => "int unsigned", "not null" => "1", "primary" => "1", "foreign" => ["item-uri" => "id"], "comment" => "Id of the item-uri table entry that contains the item uri"],
                        "inbox-id" => ["type" => "int unsigned", "not null" => "1", "primary" => "1", "foreign" => ["item-uri" => "id"], "comment" => "Item-uri id of inbox url"],
                        "uid" => ["type" => "mediumint unsigned", "foreign" => ["user" => "uid"], "comment" => "Delivering user"],
                        "created" => ["type" => "datetime", "default" => DBA::NULL_DATETIME, "comment" => ""],
                        "command" => ["type" => "varbinary(32)", "comment" => ""],
+                       "failed" => ["type" => "tinyint", "default" => 0, "comment" => "Number of times the delivery has failed"],
+                       "receivers" => ["type" => "mediumtext", "comment" => "JSON encoded array with the receiving contacts"],
                ],
                "indexes" => [
                        "PRIMARY" => ["uri-id", "inbox-id"],