From af38636c1b726f2c3b0e4aa14d9b400aab820036 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 28 Feb 2022 16:45:10 -0800 Subject: [PATCH] QueueItem - Upgrades from dsn, $fileName); - - return CRM_Core_DAO::checkTableExists('civicrm_queue_item'); - } - /** * Ensure that the `civicrm_queue_item` table is up-to-date. * diff --git a/sql/civicrm_queue_item.mysql b/sql/civicrm_queue_item.mysql deleted file mode 100644 index 9ccffb56f4..0000000000 --- a/sql/civicrm_queue_item.mysql +++ /dev/null @@ -1,33 +0,0 @@ --- This code has been copied from the auto-generated civicrm.mysql --- It is required to facilitate queue-backed upgrades. - --- /******************************************************* --- * --- * civicrm_queue_item --- * --- * Stores a list of queue items --- * --- *******************************************************/ -CREATE TABLE `civicrm_queue_item` ( - - - `id` int unsigned NOT NULL AUTO_INCREMENT , - `queue_name` varchar(64) NOT NULL COMMENT 'Name of the queue which includes this item', - `weight` int NOT NULL , - `submit_time` datetime NOT NULL COMMENT 'date on which this item was submitted to the queue', - `release_time` datetime COMMENT 'date on which this job becomes available; null if ASAP', - `retry_interval` int NULL COMMENT 'Number of seconds to wait before retrying a failed execution. NULL to disable.', - `retry_count` int NULL COMMENT 'Number of permitted retries. Decreases with each retry. NULL to disable.', - - `data` text COMMENT 'Serialized queue' -, - PRIMARY KEY ( `id` ) - - , INDEX `index_queueids`( - `queue_name` - , `weight` - , `id` - ) - - -) ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ; diff --git a/xml/schema/Queue/Queue.xml b/xml/schema/Queue/Queue.xml index 947e907f01..1f192a6ba6 100644 --- a/xml/schema/Queue/Queue.xml +++ b/xml/schema/Queue/Queue.xml @@ -1,10 +1,6 @@ - CRM/QueueQueuecivicrm_queue diff --git a/xml/schema/Queue/QueueItem.xml b/xml/schema/Queue/QueueItem.xml index 3d3bea186b..782421f15a 100644 --- a/xml/schema/Queue/QueueItem.xml +++ b/xml/schema/Queue/QueueItem.xml @@ -2,8 +2,7 @@
CRM/QueueQueueItem -- 2.25.1