diff --git a/api/src/main/resources/liquibase.xml b/api/src/main/resources/liquibase.xml
index e56fdf8..3ad8dba 100644
--- a/api/src/main/resources/liquibase.xml
+++ b/api/src/main/resources/liquibase.xml
@@ -314,19 +314,24 @@
+ 8:6614a6aa5f2fd2e14304b48bff8c4b6d
- SELECT COUNT(*) FROM scheduler_task_config WHERE name = "Auto close queue entries Task";
+ SELECT COUNT(*) FROM scheduler_task_config WHERE name = 'Auto close queue entries Task';
-
- INSERT INTO
- scheduler_task_config(name, description, schedulable_class, start_time, start_time_pattern, repeat_interval,
- start_on_startup, created_by, date_created, uuid)
- VALUES
- ('Auto close queue entries Task', 'Auto close queue entries Task', 'org.openmrs.module.queue.tasks.AutoCloseQueueEntryTask',
- TIMESTAMP(CURDATE()), 'MM/dd/yyyy HH:mm:ss', 86400, TRUE, 1, NOW(), UUID());
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -377,7 +382,7 @@
- SELECT COUNT(*) FROM scheduler_task_config WHERE name = "Auto close queue entries Task";
+ SELECT COUNT(*) FROM scheduler_task_config WHERE name = 'Auto close queue entries Task';
@@ -400,7 +405,7 @@
-
+
@@ -411,6 +416,20 @@
+
+
+
+
+
+ UPDATE queue_entry qe
+ SET visit_id = (
+ SELECT vqe.visit_id
+ FROM visit_queue_entries vqe
+ WHERE qe.queue_entry_id = vqe.queue_entry_id
+ );
+
+
+