From 96820ee409b55224032e27d491ea44a9eaea5d33 Mon Sep 17 00:00:00 2001 From: Piotr Wargulak Date: Thu, 24 Oct 2024 13:45:41 +0200 Subject: [PATCH] Synchronized kafka_requisition_template_assignments and kafka_requisition_templates with corresponding OLMIS table --- .../templates/OlmisCreateTableStatements.sql | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/reporting/db/docker-entrypoint-initdb.d/templates/OlmisCreateTableStatements.sql b/reporting/db/docker-entrypoint-initdb.d/templates/OlmisCreateTableStatements.sql index 4e342db..2aca1cd 100644 --- a/reporting/db/docker-entrypoint-initdb.d/templates/OlmisCreateTableStatements.sql +++ b/reporting/db/docker-entrypoint-initdb.d/templates/OlmisCreateTableStatements.sql @@ -1575,7 +1575,8 @@ CREATE TABLE public.kafka_requisition_template_assignments ( id uuid NOT NULL, programid uuid NOT NULL, facilitytypeid uuid, - templateid uuid NOT NULL + templateid uuid NOT NULL, + requisitionreportonly boolean DEFAULT false ); @@ -1592,7 +1593,10 @@ CREATE TABLE public.kafka_requisition_templates ( numberofperiodstoaverage integer, populatestockonhandfromstockcards boolean DEFAULT false NOT NULL, archived boolean DEFAULT false NOT NULL, - name character varying(255) NOT NULL + name character varying(255) NOT NULL, + rejectionreasonwindowvisible boolean DEFAULT false, + requisitionreportingonly boolean DEFAULT false, + patientstabenabled boolean DEFAULT false );