]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
Fix doc blocks and return value type
[friendica.git] / database.sql
index a692b447f78599d4f82c513737750591af56bf4b..7d0db4fa69aac1824ba83d8ecbb45342e1f6d256 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 2019.03-dev (The Tazmans Flax-lily)
--- DB_UPDATE_VERSION 1297
+-- DB_UPDATE_VERSION 1299
 -- ------------------------------------------
 
 
@@ -64,6 +64,8 @@ CREATE TABLE IF NOT EXISTS `attach` (
        `allow_gid` mediumtext COMMENT 'Access Control - list of allowed groups',
        `deny_cid` mediumtext COMMENT 'Access Control - list of denied contact.id',
        `deny_gid` mediumtext COMMENT 'Access Control - list of denied groups',
+       `backend-class` tinytext COMMENT 'Storage backend class',
+       `backend-ref` text COMMENT 'Storage backend data reference',
         PRIMARY KEY(`id`)
 ) DEFAULT COLLATE utf8mb4_general_ci COMMENT='file attachments';
 
@@ -641,8 +643,8 @@ CREATE TABLE IF NOT EXISTS `item-delivery-data` (
        `iid` int unsigned NOT NULL COMMENT 'Item id',
        `postopts` text COMMENT 'External post connectors add their network name to this comma-separated string to identify that they should be delivered to these networks during delivery',
        `inform` mediumtext COMMENT 'Additional receivers of the linked item',
-       `queue_count` mediumint(9) NOT NULL DEFAULT '0' COMMENT 'Initial number of delivery recipients, used as item.delivery_queue_count',
-       `queue_done` mediumint(9) NOT NULL DEFAULT '0' COMMENT 'Number of successful deliveries, used as item.delivery_queue_done',
+       `queue_count` mediumint NOT NULL DEFAULT 0 COMMENT 'Initial number of delivery recipients, used as item.delivery_queue_count',
+       `queue_done` mediumint NOT NULL DEFAULT 0 COMMENT 'Number of successful deliveries, used as item.delivery_queue_done',
         PRIMARY KEY(`iid`)
 ) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Delivery data for items';